public void Init(IDBQuery dbHelper, ILoginUser loginUser) { _dbHelper = dbHelper; _loginUser = loginUser; _rwm = new ReportWordsModel(_dbHelper); _comboxEx = new ComboxEx(dbHelper); }
private string _formatId = ""; //格式ID public frmReportWordsConfig(IDBQuery dbHelper, string imgKind) { InitializeComponent(); _dbHelper = dbHelper; _imgKind = imgKind; _rwm = new ReportWordsModel(dbHelper); }
public bool ShowWordConstruct(ReportWordsInfoData wordData, IDBQuery dbHelper, IWin32Window owner) { _isOk = false; _wordData = wordData; _dbHelper = dbHelper; _rwm = new ReportWordsModel(dbHelper); this.ShowDialog(owner); return(_isOk); }
public frmTemplateConstruct(IDBQuery dbHelper, string imgKind) { InitializeComponent(); designerControl1 = new DesignerControl(); panel2.Controls.Add(designerControl1); designerControl1.Dock = DockStyle.Fill; _dbHelper = dbHelper; _imgKind = imgKind; _rwm = new ReportWordsModel(dbHelper); _rtm = new ReportTemplateModel(dbHelper); }