VixenApplication.DisplaySetup.buttonOk_Click C# (CSharp) Метод

buttonOk_Click() приватный Метод

private buttonOk_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат 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();
        }