private void Button_Click_5(object sender, RoutedEventArgs e) { Media_Player mp = new Media_Player(); mp.Show(); Speak_Listen.MPInit(mp); }
public static void MPInit(Media_Player obj) { EnableGrammar(ref MediaPlayerGrammar, true); mp = obj; }