public FilterTable(bool dualMode, bool globalMode) { this.dualMode = dualMode; this.globalMode = globalMode; InitializeComponent(); SetupTable(); KeyDown += new KeyEventHandler(table_KeyDown); DragDrop += new DragEventHandler(OnDragDrop); DragEnter += new DragEventHandler(OnDragEnter); MouseDoubleClick += new MouseEventHandler(table_MouseDoubleClick); CellPropertyChanged += new XPTable.Events.CellEventHandler(table_CellPropertyChanged); }