private void bPlay_Click(object sender, EventArgs e)
 {
     if (cBSetdecks.SelectedIndex != -1)
     {
         Gameform gf = new Gameform(cBSetdecks.Text, comboBoxHeros.Text);
         gf.Show();
         this.Hide();
     }
 }
Exemple #2
0
 public Controller(string path, string hero, Gameform gameform)
 {
     this.path     = path;
     this.hero     = hero;
     this.gameform = gameform;
 }