VixenApplication.DisplaySetup.buttonOk_Click C# (CSharp) Method

buttonOk_Click() private method

private buttonOk_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
        private void buttonOk_Click(object sender, EventArgs e)
        {
            //This is an attempt to band aid up a issue that the graphical designer has with making filters and then abandoning them
            //Until we can fix up a better way to visualize unconnected filters, we will just clean them up from here.
            //Just doing it in Ok as if we cancel it reloads the system anyway.
            VixenSystem.Filters.RemoveOrphanedFilters();
        }