Exemplo n.º 1
0
        private void VoteASG_Load(object sender, EventArgs e)
        {
            try
            {
                clWork = new CVoteAllStarsGame(connect);

                this.WindowState = FormWindowState.Maximized;

                radioButtonAll.Checked = true;

                groupBoxData.Enabled = false;

                radioButtonSortName.Checked = true;

                init_data(v_param);
            }
            catch (Exception ex) { MessageBox.Show(ex.Message, ex.Source); }
        }
Exemplo n.º 2
0
        private void DlgVoteASG_Load(object sender, EventArgs e)
        {
            try
            {
                this.Text = caption;

                clWork = new CVoteAllStarsGame(connect);

                if (mode == 1)
                {
                    set_data();
                }

                init_list1d();
                init_list1a();
                init_list1c();
                init_list1ch();
                init_list2d();
                init_list2a();
                init_list2c();
                init_list2ch();
            }
            catch (Exception ex) { MessageBox.Show(ex.Message, ex.Source); }
        }