Пример #1
0
 void recEngine_SpeechRecognized(object sender, SpeechRecognizedEventArgs e)
 {
     if (e.Result.Text == "List")
     {
         gridPacientet.DataSource = BLPacienti.ShfaqListenPacienteve();
     }
     else if (e.Result.Text == "Clear")
     {
         gridPacientet.DataSource = "";
     }
     else if (e.Result.Text == "Add")
     {
         FrmAddPatient frmadd = new FrmAddPatient();
         frmadd.ShowDialog();
     }
 }
Пример #2
0
        private void btn_AddPatientBack_Click(object sender, EventArgs e)
        {
            FrmAddPatient shtopacient = new FrmAddPatient();

            shtopacient.Show();
        }
Пример #3
0
        private void btnAdd_Patient_Click(object sender, EventArgs e)
        {
            FrmAddPatient frm = new FrmAddPatient();

            frm.Show();
        }