Esempio n. 1
0
        private void InitializeConfig()
        {
            this.ucUser = new UCProjectPicker(this.curInput);
            DropDownEditorButton button = base.ButtonsRight["SelectProject"] as DropDownEditorButton;

            button.Control = this.ucUser;
            this.dlhandler = new ProjectDropListHandler(this.ucUser_ProjectSelected);
            this.ucUser.ProjectSelected     += this.dlhandler;
            base.BeforeEditorButtonDropDown += new BeforeEditorButtonDropDownEventHandler(this.ProjectCombo_BeforeDropDown);
            this.AllowDrop    = true;
            base.TextChanged += new EventHandler(this.ProjectCombo_TextChanged);
            base.KeyUp       += new KeyEventHandler(this.ProjectComboInput_KeyUp);
        }
Esempio n. 2
0
 private void InitializeConfig()
 {
     this.ucUser = new UCProjectPicker(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 ProjectDropListHandler(this.ucUser_ProjectSelected);
     this.ucUser.ProjectSelected += this.dlhandler;
     this.QueryPopUp             += new CancelEventHandler(this.ProjectCombo_QueryPopUp);
     this.AllowDrop               = true;
     base.TextChanged            += new EventHandler(this.ProjectCombo_TextChanged);
     base.KeyUp += new KeyEventHandler(this.ProjectComboInput_KeyUp);
 }