private void PCM_Click( object sender, EventArgs e ) { if ( pc == null ) { pc = new PC(); pc.MdiParent = this; pc.Closed += pc_closed; pc.Show(); } else { pc.Activate(); } }
private void pc_closed( object sender, EventArgs e ) { pc = null; }
private void PCM_Click( object sender, EventArgs e ) { if ( pc == null ) { pc = new PC(); pc.MdiParent = this; pc.Closed += pc_closed; pc.Show(); } else { pc.Activate(); } }
private void pc_closed( object sender, EventArgs e ) { pc = null; }