示例#1
0
        private void InitializeConfig()
        {
            this.ucUser = new UCIDPicker(this.curInput);
            DropDownEditorButton button = base.ButtonsRight["SelectID"] as DropDownEditorButton;

            button.Control                   = this.ucUser;
            this.dlhandler                   = new IDDropListHandler(this.ucUser_IDSelected);
            this.ucUser.IDSelected          += this.dlhandler;
            base.BeforeEditorButtonDropDown += new BeforeEditorButtonDropDownEventHandler(this.IDCombo_BeforeDropDown);
            this.AllowDrop                   = true;
            base.TextChanged                += new EventHandler(this.IDCombo_TextChanged);
            base.KeyUp += new KeyEventHandler(this.IDComboInput_KeyUp);
        }
示例#2
0
 private void InitializeConfig()
 {
     this.ucUser = new UCIDPicker(this.curInput);
     this.popupContainer.Controls.Add(this.ucUser);
     base.Properties.PopupControl.Size = new Size(base.Width, this.ucUser.Height);
     this.ucUser.Dock        = DockStyle.Fill;
     this.dlhandler          = new IDDropListHandler(this.ucUser_IDSelected);
     this.ucUser.IDSelected += this.dlhandler;
     this.QueryPopUp        += new CancelEventHandler(this.IDCombo_QueryPopUp);
     this.AllowDrop          = true;
     base.TextChanged       += new EventHandler(this.IDCombo_TextChanged);
     base.KeyUp             += new KeyEventHandler(this.IDComboInput_KeyUp);
 }