Ejemplo n.º 1
0
        // This event is called when the plugin is initialized
        public override void OnInitialize()
        {
            base.OnInitialize();

            // Keep a static reference
            me = this;

            // Load form
            toolsform = new ToolsForm();

            General.Actions.BindMethods(this);
        }
Ejemplo n.º 2
0
        // This is called when the plugin is terminated
        public override void Dispose()
        {
            base.Dispose();

            General.Actions.UnbindMethods(this);

            // Dispose form
            if (toolsform != null)
            {
                toolsform.Dispose();
            }
            toolsform = null;
        }