示例#1
0
 private void btnConnection_MouseClick(object sender, MouseEventArgs e)
 {
     if (txtNom.Text != "" && txtIP.Text != "")
     {
         Partie laPartie = new Partie(txtNom.Text, txtIP.Text);
     }
 }
示例#2
0
 private void btnHeberger_Click(object sender, EventArgs e)
 {
     if (txtNom.Text != "")
     {
         Partie laPartie = new Partie(txtNom.Text, cmbJoueur.SelectedIndex + 1, FormOption.NbPaquet, FormOption.MiseMin, FormOption.MiseMax, FormOption.Argent);
         FormOption.Close();
     }
 }
示例#3
0
 public PartieForm(Partie partie)
 {
     this.partie = partie;
     InitializeComponent();
     FormConnection = new ConnectionForm();
     FormConnection.Show();
     FormConnection.TopMost = true;
 }