public static void ShowInstance() { if (_instance == null) { _instance = new LicensesWindow(); _instance.Closed += (S, E) => _instance = null; } _instance.ShowAndFocus(); }
void ViewLicenses(object Sender, RoutedEventArgs E) { LicensesWindow.ShowInstance(); }
private void ViewLicenses(object sender, RoutedEventArgs e) { LicensesWindow.ShowInstance(); }