private void CommandHelp(object sender, ExecutedRoutedEventArgs e) { if (Settings.Visibility == System.Windows.Visibility.Hidden) { Logo_MouseDown(null, null); } else { BackImage_MouseDown(null, null); } }