// This is called when the plugin is terminated public override void Dispose() { base.Dispose(); // Time to clean everything up statsform.Dispose(); statsform = 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 statsform = new StatisticsForm(); }