private void nouvellePartieToolStripMenuItem_Click(object sender, EventArgs e) { Interface_jeux interface_jeux = Interface_jeux.GetInstance(); interface_jeux.MdiParent = this; interface_jeux.Show(); }
public static Interface_jeux GetInstance() { if (_instance == null) { _instance = new Interface_jeux(); } return(_instance); }
private void Interface_jeux_FormClosed(object sender, FormClosedEventArgs e) { _instance = null; }