示例#1
0
 private void registerToolStripMenuItem_Click(object sender, EventArgs e)
 {
     using (PractitionerRegistration form = new PractitionerRegistration())
     {
         // DentalDialog form1 = new DentalDialog(item.Text, TransactorID);
         DialogResult dr = form.ShowDialog();
         if (dr == DialogResult.OK)
         {
         }
     }
 }
示例#2
0
 private void button6_Click(object sender, EventArgs e)
 {
     if (Branch.ListBranch().Count() < 1)
     {
         MessageBox.Show("Please add a branch first");
         return;
     }
     using (PractitionerRegistration form = new PractitionerRegistration())
     {
         // DentalDialog form1 = new DentalDialog(item.Text, TransactorID);
         DialogResult dr = form.ShowDialog();
         if (dr == DialogResult.OK)
         {
             autocompleteUsers();
         }
     }
 }