private void recEngine_SpeechRecognized(object sender, SpeechRecognizedEventArgs e) { switch (e.Result.Text) { case "x": { consulterNotes n = new consulterNotes(); n.Show(); } break; case "b": { AjoutNote n2 = new AjoutNote(); n2.Show(); } break; } }
private void consulterNote_Click(object sender, EventArgs e) { consulterNotes cn = new consulterNotes(); cn.Show(); }