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