Example #1
0
 /// <summary>
 /// Called at plugin manager stop, close/displose anything needed here !
 /// </summary>
 /// <param name="pluginManager"></param>
 public void End(PluginManager pluginManager)
 {
     settingsControl = null;
     serialHandler.End();
     serialHandler = null;
     Debug.WriteLine("END called");
 }
Example #2
0
 /// <summary>
 /// Called after plugins startup
 /// </summary>
 /// <param name="pluginManager"></param>
 public void Init(PluginManager pluginManager)
 {
     if (serialHandler == null)
     {
         serialHandler = new SerialHandler(this);
     }
     Debug.WriteLine("INIT called");
 }