Ejemplo n.º 1
0
 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();
     }
 }
Ejemplo n.º 2
0
 private void pc_closed( object sender, EventArgs e )
 {
     pc = null;
 }