Esempio n. 1
0
        private void button3_Click(object sender, EventArgs e)
        {
            if (!CheckCBChecked())
            {
                MessageBox.Show("请选择队伍");
                return;
            }
            TeamForm tf = new TeamForm();

            tf.MyTeam  = comboBox1.SelectedItem as Team;
            tf.Closed += OnTfOnClosed;
            tf.Show();
        }
Esempio n. 2
0
        private void button4_Click(object sender, EventArgs e)
        {
            if (!CheckCBChecked())
            {
                MessageBox.Show("请选择队伍");
                return;
            }
            TeamForm tf = new TeamForm();

            tf.Closed += OnTfOnClosed;
            tf.Show();
            this.Enabled = false;
        }