Ejemplo n.º 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();
 }
Ejemplo n.º 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();
 }