// This is called when the plugin is terminated public override void Dispose() { base.Dispose(); // Time to clean everything up gdform.Dispose(); gdform = null; }
// This event is called when the plugin is initialized public override void OnInitialize() { base.OnInitialize(); // Keep a static reference me = this; // Load our statistics form gdform = new GDForm(); }