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