public static ControlView Instance()
 {
     if (instance == null)
     {
         instance = new ControlView();
     }
     return instance;
 }
Beispiel #2
0
 public static ControlView Instance()
 {
     if (instance == null)
     {
         instance = new ControlView();
     }
     return(instance);
 }
Beispiel #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();
        }
 private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     this.Hide();
     ControlView.instance = null;
     se.watcher.EnableRaisingEvents = true;
 }
Beispiel #5
0
 private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     ControlView.instance           = null;
     se.watcher.EnableRaisingEvents = true;
     this.Hide();
 }