private void CSRM_Click( object sender, EventArgs e ) { if ( csr == null ) { csr = new CSR(); csr.MdiParent = this; csr.Closed += csr_closed; csr.Show(); } else { csr.Activate(); } }
private void csr_closed( object sender, EventArgs e ) { csr = null; }