First one
in the plugin code I saw this code
public void Cyclethreadstart_event()
{
//MessageBox.Show("Cycle is starting...");
}
with this one I can intercept the cycle start event. Is there something similar to intercept the cycle stop event?
Second one:
in my software I usually save user preferences settings.
I use a settings file and I can save and load properties using a code like
- Code: Select all
Properties.Settings1.Default.PROPERTY = VALUE;
I tried to write something like this but the value are not stored. I can load the default value I write in the settings file during the compilation, but I can't save the value at runtime (from UCCNC).
Is there anyway to use settings and properties in plugins? Am I missing somethings?