Example #1
0
 //Изменение данных пациента
 private void changePatientKartData()
 {
     if (this.tabControl1.SelectedTab == this.tabPage2)
     {
           if (this.PatientList.SelectedIndex != -1)
           {
             int myPatientSelId = (int)this.tblPatientList.Rows[this.PatientList.SelectedIndex]["pat_id"];
             newPatientForm PatientKart = new newPatientForm(true,myPatientSelId);
             PatientKart.ShowDialog();
           }
      }
     else if (this.tabControl1.SelectedTab == this.tabPage3)
     {
         newPatientForm PatientKart = new newPatientForm(true, this.searchPatientBox1.pIdN);
         PatientKart.ShowDialog();
     }
     else
     {
         warnMess.warnChoosePatient();
     }
 }
Example #2
0
 private void patientKatToolStripMenuItem_Click(object sender, EventArgs e)
 {
     newPatientForm PatientKart = new newPatientForm();
     PatientKart.ShowDialog();
 }
Example #3
0
 private void patientKatToolStripMenuItem_Click(object sender, EventArgs e)
 {
     newPatientForm PatientKart = new newPatientForm(false,0);
     PatientKart.ShowDialog();
     fillDiaDataLists();
 }