예제 #1
0
 public static ControlView Instance()
 {
     if (instance == null)
     {
         instance = new ControlView();
     }
     return instance;
 }
예제 #2
0
 public static ControlView Instance()
 {
     if (instance == null)
     {
         instance = new ControlView();
     }
     return(instance);
 }
예제 #3
0
        private void controlPanel_Click(object Sender, EventArgs e)
        {
            // Close the form, which closes the application.
            ControlView av = ControlView.Instance();

            av.Show();
            av.Activate();
        }
예제 #4
0
 private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     this.Hide();
     ControlView.instance = null;
     se.watcher.EnableRaisingEvents = true;
 }
예제 #5
0
 private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     ControlView.instance           = null;
     se.watcher.EnableRaisingEvents = true;
     this.Hide();
 }