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