private void AboutItem_Click(object sender, RoutedEventArgs e) { AboutWindow about = new AboutWindow(); about.Show(); }
private void Settings_Click(object sender, RoutedEventArgs e) { if (isAbout) { AboutWindow about = new AboutWindow(); about.Show(); } else { this.SettingsFlyout.IsOpen = !this.SettingsFlyout.IsOpen; this.SettingsButton.Content = String.Format("About (version {0}.{1})", Storage.fileVersion[0].ToString(), Storage.fileVersion[1].ToString()); isAbout = true; } }