Beispiel #1
0
 private void GXTest_FormClosed(object sender, FormClosedEventArgs e)
 {
     if (monitor != null)
     {
         monitor.UnRegMonitor(this);
         monitor.Close();
     }
 }
Beispiel #2
0
 public MonitorResult Close()
 {
     Stop();
     if (m_Monitor != null)
     {
         return(m_Monitor.Close());
     }
     else
     {
         return(new MonitorResult(MonitorResults.Success, "Successfully closed the monitor."));
     }
 }
Beispiel #3
0
 private void FormExam_FormClosing(object sender, FormClosingEventArgs e)
 {
     monitor.Close();
 }