예제 #1
0
 private void pedraPaperTisoraToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (obert_finestra("FrmPedra") == false)
     {
         FrmPedra pedra = new FrmPedra();
         pedra.MdiParent = this;
         pedra.Show();
     }
 }
예제 #2
0
 private void pedraPaperTisoraToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (fpedra == null)
     {
         fpedra = new FrmPedra();
         fpedra.esticTancant += new EventHandler(tancarFormPedra);
         fpedra.MdiParent     = this;
     }
     fpedra.Show();
     fpedra.Focus();
 }