Beispiel #1
0
 private void mi_ViewRolling_Click(object sender, EventArgs e)
 {
     if (m_rolling == null)
     {
         m_rolling             = new RollingTrace();
         m_rolling.Location    = m_rolling_location;
         m_rolling.FormClosed += RollingTrace_Closed;
         m_rolling.MdiParent   = this;
         m_rolling.Show();
     }
     else if (m_rolling.WindowState == FormWindowState.Minimized)
     {
         m_rolling.WindowState = FormWindowState.Normal;
     }
 }
Beispiel #2
0
 void RollingTrace_Closed(object sender, FormClosedEventArgs e)
 {
     m_rolling_location = m_rolling.Location;
     m_rolling = null;
 }
Beispiel #3
0
 private void mi_ViewRolling_Click(object sender, EventArgs e)
 {
     if (m_rolling == null)
     {
         m_rolling = new RollingTrace();
         m_rolling.Location = m_rolling_location;
         m_rolling.FormClosed += RollingTrace_Closed;
         m_rolling.MdiParent = this;
         m_rolling.Show();
     }
     else if (m_rolling.WindowState == FormWindowState.Minimized)
         m_rolling.WindowState = FormWindowState.Normal;
 }
Beispiel #4
0
 void RollingTrace_Closed(object sender, FormClosedEventArgs e)
 {
     m_rolling_location = m_rolling.Location;
     m_rolling          = null;
 }