private void MenuItem_Run_Click(object sender, RoutedEventArgs e) { if ((String)mnuRun.Header == "_Run") { pic.start(); //CLK.Start(); mnuRun.Header = "_Stop"; } else { //CLK.Stop(); pic.stop(); mnuRun.Header = "_Run"; } }
private void MenuItem_Run_Click(object sender, RoutedEventArgs e) { if ((String)mnuRun.Header == "_Run") { pic.start(); //CLK.Start(); mnuRun.Header = "_Stop"; } else { //CLK.Stop(); pic.stop(); mnuRun.Header = "_Run"; } }