Example #1
0
 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;
     }
 }
Example #2
0
 private void Transmit_Closed(object sender, FormClosedEventArgs e)
 {
     m_transmit_location = m_transmit.Location;
     m_transmit = null;
 }
Example #3
0
 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;
 }
Example #4
0
 private void Transmit_Closed(object sender, FormClosedEventArgs e)
 {
     m_transmit_location = m_transmit.Location;
     m_transmit          = null;
 }