private AutoCompleteMaker(MongoSessionPanel parent, HistoryTextBox textBox, ListBox autocompleteBox) { this.inputTextBox = textBox; this.popUpList = autocompleteBox; this.parent = parent; inputTextBox.KeyDown += InputBox_KeyDown; popUpList.KeyPress += PopUpList_KeyPress; popUpList.KeyUp += PopUpList_KeyUp; }
private AutoCompleteMaker( MongoSessionPanel parent, HistoryTextBox textBox, ListBox autocompleteBox ) { this.inputTextBox = textBox; this.popUpList = autocompleteBox; this.parent = parent; inputTextBox.KeyDown += InputBox_KeyDown; popUpList.KeyPress += PopUpList_KeyPress; popUpList.KeyUp += PopUpList_KeyUp; }
//================================================================================= // // CONSTRUCTORS // //================================================================================= public static void Initialize(MongoSessionPanel parent) { new AutoCompleteMaker(parent, parent.tbInput, parent.lbAutoComplete); }
//================================================================================= // // CONSTRUCTORS // //================================================================================= public static void Initialize( MongoSessionPanel parent ) { new AutoCompleteMaker( parent, parent.tbInput, parent.lbAutoComplete ); }