Exemplo n.º 1
0
        public FilterConfig(RegistryKey root)
        {
            _root = root.GetOrCreateRegistryKey("Filters", true); ;
            InitializeComponent();
            BuildFilterColumns();
            BuildFilterActions();
            BuildAcceptanceFilter();

            //Load Active Filter
            var activeFilter = _root.GetValue("ActiveFilter", "").ToString();
            if (!string.IsNullOrWhiteSpace(activeFilter)) { LoadActiveFilter(activeFilter); }
        }