private void partieSimpleClosed(object sender, FormClosedEventArgs e) { Program.menuPrincipal.Show(); FonctionsNatives.desactiverSon(); FonctionsNatives.affichageTexte(); panel2.SetBounds(panel2.Bounds.X, panel2.Bounds.Y, 1214, 753, BoundsSpecified.Location); this.Close(); }
private void menuPrincipalToolStripMenuItem_Click(object sender, EventArgs e) { this.DialogResult = DialogResult.No; Program.menuPrincipal.Show(); FonctionsNatives.desactiverSon(); FonctionsNatives.affichageTexte(); panel2.SetBounds(panel2.Bounds.X, panel2.Bounds.Y, 1214, 753, BoundsSpecified.Location); this.Close(); }
public PartieRapide(ZoneDeJeux zone, ConfigurationPartie config) { FonctionsNatives.reinitialiser(); this.MouseWheel += new MouseEventHandler(panel1_MouseWheel); InitializeComponent(); InitialiserAnimation(); configSimple_ = config; zone_ = zone; FonctionsNatives.affichageTexte(); InitialiserZone(); panel2.Size = new System.Drawing.Size(1214, 753); }