private void mi_Transmit_Click(object sender, EventArgs e) { if (m_transmit == null) { m_transmit = new Transmit(); m_transmit.Location = m_transmit_location; m_transmit.FormClosed += Transmit_Closed; m_transmit.MdiParent = this; m_transmit.Show(); } else if (m_transmit.WindowState == FormWindowState.Minimized) { m_transmit.WindowState = FormWindowState.Normal; } }
private void mi_Transmit_Click(object sender, EventArgs e) { if (m_transmit == null) { m_transmit = new Transmit(); m_transmit.Location = m_transmit_location; m_transmit.FormClosed += Transmit_Closed; m_transmit.MdiParent = this; m_transmit.Show(); } else if (m_transmit.WindowState == FormWindowState.Minimized) m_transmit.WindowState = FormWindowState.Normal; }