예제 #1
0
 public static frmGPIBCtrl GetChildInstance()
 {
     if (m_SChildform == null)
     {
         m_SChildform = new frmGPIBCtrl();
     }
     return(m_SChildform);
 }
예제 #2
0
 private void btn_Exit_Click(object sender, EventArgs e)
 {
     try
     {
         base.Close();
         m_SChildform = null;
     }
     catch (Exception exception)
     {
         MessageBox.Show(exception.Message, "ERROR!");
     }
 }
예제 #3
0
 public static frmGPIBCtrl GetChildInstance()
 {
     if (m_SChildform == null)
     {
         m_SChildform = new frmGPIBCtrl();
     }
     return m_SChildform;
 }
예제 #4
0
 private void btn_Exit_Click(object sender, EventArgs e)
 {
     try
     {
         base.Close();
         m_SChildform = null;
     }
     catch (Exception exception)
     {
         MessageBox.Show(exception.Message, "ERROR!");
     }
 }
예제 #5
0
 protected override void OnClosed(EventArgs e)
 {
     m_SChildform = null;
 }
예제 #6
0
 protected override void OnClosed(EventArgs e)
 {
     m_SChildform = null;
 }