コード例 #1
0
        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);
        }
コード例 #2
0
ファイル: ResWkInfo.cs プロジェクト: DFSTW/DQArchivManage
 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);
 }