//Called when the UCCNC software is closing. public void Shutdown_event() { Console.WriteLine("UCCNCplugin Shutdown_event()"); try { myform.Close(); } catch (Exception) { } }
// Called when the UCCNC software is closing. public void Shutdown_event() { try { loopstop = true; if (cppDll.IsLoaded()) { cppDll.onShutdown(); } pluginForm.Close(); } catch (Exception e) { exceptionHandler(e, "Shutdown_event"); } }