Exemple #1
0
 private void buttonAdd_Click(object sender, EventArgs e)
 {
     registerForm rf = new registerForm();
     rf.Owner = this;
     rf.StartPosition = FormStartPosition.CenterScreen;
     rf.Show();
 }
 private void buttonRegister_Click(object sender, EventArgs e)
 {
     this.Close();
     registerForm rf = new registerForm();
     rf.Owner = this;
     rf.StartPosition = FormStartPosition.CenterScreen;
     rf.textBoxID.Text = labelAlertID.Text;
     rf.textBoxID.Enabled = false;
     rf.ShowDialog();
 }