public static void Display()
 {
     if (singleton == null)
     {
         singleton = new RegExHelpDialog();
     }
     singleton.Show();
     singleton.Focus();
 }
Exemple #2
0
 void RegExHelp(object sender, RoutedEventArgs e) => RegExHelpDialog.Display();
 protected override void OnClosed(System.EventArgs e)
 {
     base.OnClosed(e);
     singleton = null;
 }