Exemplo n.º 1
0
        private void DlgDiscvalification_Load(object sender, EventArgs e)
        {
            try
            {
                this.Text = caption;

                clDV = new CDiscvalification(connect);

                init_combo_division();
                init_combo_team(0);

                if (mode == 1)
                {
                    set_data();
                }
                else
                {
                    int id = clDV.GetFreeId(idseason);
                    textBoxId.Text = id.ToString();

                    radioButtonPlayer.Checked = true;
                }
            }
            catch (Exception ex) { MessageBox.Show(ex.Message, ex.Source); }
        }
Exemplo n.º 2
0
        private void TableDiscvalification_Load(object sender, EventArgs e)
        {
            try
            {
                clDv = new CDiscvalification(connect);

                this.WindowState = FormWindowState.Maximized;

                gpos = 0;

                init_list();
            }
            catch (Exception ex) { MessageBox.Show(ex.Message, ex.Source); }
        }