示例#1
0
        // Called when the Pluginshowup(string Pluginfilename); function is executed in the UCCNC.

        public void Showup_event()
        {
            if (pluginForm.IsDisposed)
            {
                pluginForm = new PluginForm(this);
            }

            pluginForm.Show();
            pluginForm.BringToFront();
        }
        //Called when the Pluginshowup(string Pluginfilename); function is executed in the UCCNC.
        public void Showup_event()
        {
            Console.WriteLine("UCCNCplugin Showup_event()");
            if (myform.IsDisposed)
            {
                myform = new PluginForm(this);
            }

            loopstop = false; // I had to do this to get the form display to start showing again



            myform.Show();
            myform.BringToFront();
        }