示例#1
0
文件: AddGame.cs 项目: InnaZhurba/KR
        private void comboBox1_SelectionChangeCommitted(object sender, EventArgs e)
        {
            Action.GameControl gc = new Action.GameControl();
            int st;

            st = gc.MaxNumberOfViewers(comboBox1.SelectedItem.ToString());
            numericUpDown1.Maximum = st;
        }
示例#2
0
文件: AddGame.cs 项目: InnaZhurba/KR
        public void AddValues()
        {
            Action.GameControl gc = new Action.GameControl();
            List <string>      st = new List <string>();

            st = gc.CommandsReturning();
            int j = 0;

            foreach (string i in st)
            {
                comboBox4.Items.Insert(j, i);
                comboBox5.Items.Insert(j, i);
                j++;
            }

            st.Clear();
            st = gc.StadionReturning();
            j  = 0;
            foreach (string i in st)
            {
                comboBox1.Items.Insert(j, i);
                j++;
            }
        }