private void mi_ViewMatrix_Click(object sender, EventArgs e) { if (m_matrix == null) { m_matrix = new FixedTrace(); m_matrix.Location = m_matrix_location; m_matrix.FormClosed += MatrixTrace_Closed; m_matrix.MdiParent = this; m_matrix.Show(); } else if (m_matrix.WindowState == FormWindowState.Minimized) { m_matrix.WindowState = FormWindowState.Normal; } }
private void mi_ViewMatrix_Click(object sender, EventArgs e) { if (m_matrix == null) { m_matrix = new FixedTrace(); m_matrix.Location = m_matrix_location; m_matrix.FormClosed += MatrixTrace_Closed; m_matrix.MdiParent = this; m_matrix.Show(); } else if (m_matrix.WindowState == FormWindowState.Minimized) m_matrix.WindowState = FormWindowState.Normal; }
private void MatrixTrace_Closed(object sender, FormClosedEventArgs e) { m_matrix_location = m_matrix.Location; m_matrix = null; }