public CommonSearchEdit() { this.Properties.Buttons.Clear(); if (CheckDesingModel.IsDesingMode) { return; } bll = new bllCommonSearch(); //var ebtnSet = new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph);//设置用户字段 //ebtnSet.Caption = "设"; //var ebtnConfig = new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph);//配置查询字段 //ebtnConfig.Caption = "配"; //this.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { ebtnSet, ebtnConfig }); }
public frmDialog_CommonSearchConfig() { InitializeComponent(); bll = new bllCommonSearch(); }