private void InitializeConfig() { this.ucUser = new UCParamMain(this.str_funcname); DropDownEditorButton button = base.ButtonsRight["SelectRule"] as DropDownEditorButton; button.Control = this.ucUser; this.dlhandler = new RuleDropListHandler(this.ucUser_RuleSelected); this.ucUser.RuleSelected += this.dlhandler; base.BeforeEditorButtonDropDown += new BeforeEditorButtonDropDownEventHandler(this.RuleCombo_BeforeDropDown); this.AllowDrop = true; base.KeyUp += new KeyEventHandler(this.RuleCombo_KeyUp); base.Resize += new EventHandler(this.RuleCombo_Resize); }
private void InitializeConfig() { this.ucUser = new UCParamMain(this.str_funcname); 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 RuleDropListHandler(this.ucUser_RuleSelected); this.ucUser.RuleSelected += this.dlhandler; this.QueryPopUp += new CancelEventHandler(this.RuleCombo_QueryPopUp); this.AllowDrop = true; base.KeyUp += new KeyEventHandler(this.RuleCombo_KeyUp); base.Resize += new EventHandler(this.RuleCombo_Resize); }