Пример #1
0
        /// <summary>
        /// Creates a new instance
        /// </summary>
        public DataGridFilterExtender()
        {
            InitializeComponent();

            _filters      = new GridFiltersControl();
            FilterFactory = new DefaultGridFilterFactory();
        }
Пример #2
0
        /// <summary>
        /// Creates a new instance
        /// </summary>
        /// <param name="container"></param>
        public DataGridFilterExtender(System.ComponentModel.IContainer container)
        {
            container.Add(this);
            InitializeComponent();

            _filters      = new GridFiltersControl();
            FilterFactory = new DefaultGridFilterFactory();
        }
Пример #3
0
 /// <summary>
 /// Verwendete Ressourcen bereinigen.
 /// </summary>
 protected override void Dispose(bool disposing)
 {
     if (_filters != null)
     {
         RemoveFilterControl();
         _filters.Dispose();
         _filters = null;
     }
     if (disposing)
     {
         if (components != null)
         {
             components.Dispose();
         }
     }
     base.Dispose(disposing);
 }