/// <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"); }
/// <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"); }