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; }