Пример #1
0
        private void EditToolStripMenuItem_Click(object sender, EventArgs e)
        {
            EditTournaments EditTournaments = new EditTournaments();

            id = lstTournaments.SelectedItems[0].Text;
            EditTournaments.Show();
            this.Hide();
        }
Пример #2
0
        private void Members_Load(object sender, EventArgs e)
        {
            lstMembers.FullRowSelect = true;
            lblFind.BackColor        = System.Drawing.Color.Transparent;
            lblFind.ForeColor        = Color.White;
            lstMembers.MouseUp      += new MouseEventHandler(lstMembers_MouseUp);
            this.Icon            = dsa.Properties.Resources.zsz_fcvos10_LWv_icon;
            this.BackgroundImage = dsa.Properties.Resources.image;
            EditTournaments EditTournaments = new EditTournaments();
            string          type            = EditTournaments.gettype();

            if (type == "0")
            {
                LoadMembers();
            }
            else
            {
                LoadTeams();
            }
        }