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