Exemple #1
0
 private void Run(object sender, EventArgs e)
 {
     MagnetoRunner.Run(
         sourceCode: CodeEditor.Text,
         runStateCallback: running => Dispatcher.InvokeAsync(this, SetRunState, running),
         exceptionHandler: HandleRunException);
 }
Exemple #2
0
 private void Stop(object sender, EventArgs e)
 {
     MagnetoRunner.StopRunningProcess();
 }