private void ra_closed( object sender, EventArgs e ) { ra = null; }
private void RAM_Click( object sender, EventArgs e ) { if ( ra == null ) { ra = new RA(); ra.MdiParent = this; ra.Closed += ra_closed; ra.Show(); } else { ra.Activate(); } }