Example #1
0
 private void btnRegister_Click(object sender, EventArgs e)
 {
     fr1 = new FormRegistration1();
     fr1.btnDelete.Enabled = false; //only insert button is allowed to register
     fr1.btnUpdate.Enabled = false; //only insert button is allowed to register
     fr1.ShowDialog();
 }
Example #2
0
 private void btnEdit_Click(object sender, EventArgs e)
 {
     fr1 = new FormRegistration1();
     fr1.btnInsert.Enabled = false; //only update button is allowed to register
     fr1.ShowDialog();
 }