Exemple #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            attack_skill a = new attack_skill();

            a.Show();
            this.Hide();
        }
Exemple #2
0
 private void button2_Click(object sender, EventArgs e)
 {
     if ((comboBox1.SelectedIndex >= 0) || (comboBox2.SelectedIndex >= 0) || (comboBox3.SelectedIndex >= 0))
     {
         attack_skill attack_ = new attack_skill();
         this.Hide();
         attack_.Show();
     }
     else
     {
         MessageBox.Show("请选择你要挑战的对象");
     }
 }