コード例 #1
0
        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;
        }
コード例 #2
0
        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;
        }
コード例 #3
0
        //=================================================================================
        //
        //  CONSTRUCTORS
        //
        //=================================================================================

        public static void Initialize(MongoSessionPanel parent)
        {
            new AutoCompleteMaker(parent, parent.tbInput, parent.lbAutoComplete);
        }
コード例 #4
0
 //=================================================================================
 //
 //  CONSTRUCTORS
 //
 //=================================================================================
 public static void Initialize( MongoSessionPanel parent )
 {
     new AutoCompleteMaker( parent, parent.tbInput, parent.lbAutoComplete );
 }