private void Init() { this.ds = PlArchivManage.Agent.GetBpmNameByUserOid(ClientData.LogonUser.Oid); this.ucBpm = new UcResWk(this.ds); DropDownEditorButton button = base.ButtonsRight["SelectRes"] as DropDownEditorButton; button.Control = this.ucBpm; this.dlhandler = new SelectResHandler2(this.ucUser_ResSelected); this.ucBpm.ResTextChanged += this.dlhandler; base.BeforeEditorButtonDropDown += new BeforeEditorButtonDropDownEventHandler(this.ResCombo_BeforeDropDown); base.Resize += new EventHandler(this.ResCombo_Resize); base.TextChanged += new EventHandler(this.ResCombo_TextChanged); }