/// <summary>
        /// Allows Patient information to be updated in system
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void UpdatePatientButton_Click(object sender, RoutedEventArgs e)
        {
            addPatientUserForm updatePatient = new addPatientUserForm();
            int patientID = patientIDRec;

            updatePatient.patientID = patientID;
            updatePatient.typeTag   = "Update"; updatePatient.ShowDialog();
            if (updatePatient.DialogResult == System.Windows.Forms.DialogResult.OK)
            {
                LoadGrid(patientID);
            }
            else
            {
                updatePatient.Dispose();
            }
        }
 //Adds new patient to system
 private void AddPatientButton_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         addPatientUserForm add = new addPatientUserForm();
         add.typeTag = "Add";
         add.ShowDialog();
         if (add.DialogResult == System.Windows.Forms.DialogResult.OK)
         {
             LoadGrid();
         }
         else
         {
             add.Dispose();
         }
     }
     catch (Exception ex)
     {
         System.Windows.MessageBox.Show(ex.Message);
     }
 }