コード例 #1
0
 public static void Display()
 {
     if (This.Visibility == Visibility.Visible)
     {
         This.Close();
         return;
     }
     This.Show();
     This.Activate();
     This.WindowState = WindowState.Normal;
 }