Chromatics.Chromatics.DeInitPlugin C# (CSharp) Method

DeInitPlugin() public method

public DeInitPlugin ( ) : void
return void
        public void DeInitPlugin()
        {
            // Unsubscribe from any events when exiting!
            ActGlobals.oFormActMain.AfterCombatAction -= oFormActMain_AfterCombatAction;
            ActGlobals.oFormActMain.OnCombatStart -= new CombatToggleEventDelegate(oFormActMain_OnCombatStart);
            ActGlobals.oFormActMain.OnCombatEnd -= new CombatToggleEventDelegate(oFormActMain_OnCombatEnd);
            ActGlobals.oFormActMain.BeforeLogLineRead -= new LogLineEventDelegate(oFormActMain_BeforeLogLineRead); //READ
            ActGlobals.oFormSpellTimers.OnSpellTimerExpire -= new SpellTimerEventDelegate(oFormSpellTimers_OnSpellTimerExpire);
            ActGlobals.oFormSpellTimers.OnSpellTimerWarning -= new SpellTimerEventDelegate(oFormSpellTimers_OnSpellTimerWarning);
            ActGlobals.oFormSpellTimers.OnSpellTimerRemoved -= new SpellTimerEventDelegate(oFormSpellTimers_OnSpellTimerRemoved);
            ActGlobals.oFormActMain.UpdateCheckClicked -= oFormActMain_UpdateCheckClicked;
            Application.ApplicationExit -= new EventHandler(this.OnApplicationExit);

            skyWatcher.Enabled = false;
            SaveSettings();
            lblStatus.Text = "Chromatics Plugin Exited";
        }
Chromatics