Example #1
0
        private void ProjectBuildStopCommand_Executed(object sender, ExecutedRoutedEventArgs e)
        {
            // Force update of script interface
            ProjectBuildStopButton.Focus();

            // Request build to stop.
            ForceStopBuild();
        }
Example #2
0
        private void ProjectBuildStopCommand_Executed(object sender, ExecutedRoutedEventArgs e)
        {
            // Force update of script interface
            ProjectBuildStopButton.Focus();

            // Do not set Engine.WorkingEngine to null, it will take some time to finish a build.
            Engine.WorkingEngine?.ForceStop();
        }