Пример #1
0
        // This is called when the plugin is terminated
        public override void Dispose()
        {
            base.Dispose();

            // Time to clean everything up
            statsform.Dispose();
            statsform = null;
        }
Пример #2
0
        // 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();
        }