private void CCRM_Click( object sender, EventArgs e ) { if ( ccr == null ) { ccr = new CCR(); ccr.MdiParent = this; ccr.Closed += ccr_closed; ccr.Show(); } else { ccr.Activate(); } }
private void ccr_closed( object sender, EventArgs e ) { ccr = null; }