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(); } }
private void fermeNbrAleatoire(object sender, EventArgs e) { this.FRM_R = null; }