public Administrator() { InitializeComponent(); AccGridView.DataSource = admin.AccountTable(); //Hide Update Button Up_BT.Hide(); }
private void Cancel_BT_Click(object sender, EventArgs e) { //Clear textbox ClearData(); //Hide update button and show add button Up_BT.Hide(); Add_BT.Show(); }