示例#1
0
 private void nombreToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     if (this.FRM_R == null)
     {
         this.FRM_R = new FRM_Random {
             MdiParent = this
         };
         this.FRM_R.Show();
         this.FRM_R.FormClosing += new FormClosingEventHandler(this.fermeNbrAleatoire);
     }
     else
     {
         this.FRM_R.Activate();
     }
 }
示例#2
0
 private void fermeNbrAleatoire(object sender, EventArgs e)
 {
     this.FRM_R = null;
 }