public static frmGPIBCtrl GetChildInstance() { if (m_SChildform == null) { m_SChildform = new frmGPIBCtrl(); } return(m_SChildform); }
private void btn_Exit_Click(object sender, EventArgs e) { try { base.Close(); m_SChildform = null; } catch (Exception exception) { MessageBox.Show(exception.Message, "ERROR!"); } }
public static frmGPIBCtrl GetChildInstance() { if (m_SChildform == null) { m_SChildform = new frmGPIBCtrl(); } return m_SChildform; }
private void btn_Exit_Click(object sender, EventArgs e) { try { base.Close(); m_SChildform = null; } catch (Exception exception) { MessageBox.Show(exception.Message, "ERROR!"); } }
protected override void OnClosed(EventArgs e) { m_SChildform = null; }
protected override void OnClosed(EventArgs e) { m_SChildform = null; }