Ejemplo n.º 1
0
        private void btnAddClub_Click(object sender, EventArgs e)
        {
            AdminAddEdit frmAddClub = new AdminAddEdit();

            LoadFormIntoPanel.load(pnlContainer, frmAddClub);
            //lblSubPageTitle.Text = "Add New Club";
        }
Ejemplo n.º 2
0
        private void btnEdit_Click(object sender, EventArgs e)
        {
            try
            {
                AdminAddEdit frmEditClub = new AdminAddEdit(lstClubs.SelectedItems[0].Text);
                LoadFormIntoPanel.load(pnlContainer, frmEditClub);
                //lblSubPageTitle.Text = "Edit Club";
            }

            catch (Exception ex)
            {
                MessageBox.Show("Please select a club to edit", ex.Message);
            }
        }