//Called when the UCCNC software is closing.
 public void Shutdown_event()
 {
     Console.WriteLine("UCCNCplugin Shutdown_event()");
     try
     {
         myform.Close();
     }
     catch (Exception) { }
 }
示例#2
0
        // 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");
            }
        }