Exemplo n.º 1
0
 private void showMenuList()
 {
     activeID = null;
     pnlCreateButtons.Hide();
     pnlItemDetail.Hide();
     panelList.Show();
     pnlDeleteButtons.Hide();
     CouponGridView.Show();
     Updatepanel.Hide();
 }
Exemplo n.º 2
0
 private void Creatbutton_Click(object sender, EventArgs e)
 {
     ;
     clearDetails();
     panelList.Show();
     pnlItemDetail.Show();
     pnlCreateButtons.Show();
     pnlDeleteButtons.Hide();
     CouponGridView.Hide();
     Updatepanel.Hide();
 }
Exemplo n.º 3
0
        private void DeteleButton_Click(object sender, EventArgs e)
        {
            clearDetails();
            int index = CouponGridView.SelectedCells[0].RowIndex;

            loadListRowIntoDetails(index);
            disableAllDetailsControls();
            panelList.Show();
            pnlItemDetail.Show();
            pnlDeleteButtons.Show();
            CouponGridView.Hide();
            pnlCreateButtons.Hide();
            Updatepanel.Hide();
        }