public FInactiveFilters() { InvokeMethod = new InvokeMethod(typeof(InactiveFiltersController), new Dictionary <TypeExecute, string>() { { TypeExecute.InsertOrUpdate, "Save" }, { TypeExecute.Remove, "RemoveId" }, { TypeExecute.FindId, "FindId" }, { TypeExecute.Search, "Search" }, { TypeExecute.SearchAll, "ListInactiveFilters" } }, typeof(InactiveFilters)); ObjectControl = new List <InactiveFilters>(); InitializeComponent(); TypeFilter.SetEnumItems <TypeFilter>(Core.Domain.Queries.TypeFilter.Equal); }