Пример #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;
 }