예제 #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();
     }
 }
예제 #2
0
 public Controller(string path, string hero, Gameform gameform)
 {
     this.path     = path;
     this.hero     = hero;
     this.gameform = gameform;
 }