示例#1
0
        private void nouvellePartieToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Interface_jeux interface_jeux = Interface_jeux.GetInstance();

            interface_jeux.MdiParent = this;
            interface_jeux.Show();
        }
示例#2
0
 public static Interface_jeux GetInstance()
 {
     if (_instance == null)
     {
         _instance = new Interface_jeux();
     }
     return(_instance);
 }
示例#3
0
 private void Interface_jeux_FormClosed(object sender, FormClosedEventArgs e)
 {
     _instance = null;
 }