예제 #1
0
        private void AddMatch_TeamB_Click(object sender, EventArgs e)
        {
            var wind = new AddMatch(_mainController);

            wind.ShowDialog();
            TeamA_Box_SelectedIndexChanged(sender, e);
            TeamB_Box_SelectedIndexChanged(sender, e);
        }
예제 #2
0
        private void AddResult_Click(object sender, EventArgs e)
        {
            var key   = MyMatchWaitResult.SelectedItem.ToString();
            var MWRes = matches.First(it => it.Key == key).Value;

            var addMatchWindow = new AddMatch(BIC, MWRes);

            addMatchWindow.ShowDialog();

            MyMatchWaitResult.Items.Clear();
            matches.Clear();
        }