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(); } }
private void btn_AddPatientBack_Click(object sender, EventArgs e) { FrmAddPatient shtopacient = new FrmAddPatient(); shtopacient.Show(); }
private void btnAdd_Patient_Click(object sender, EventArgs e) { FrmAddPatient frm = new FrmAddPatient(); frm.Show(); }