private void initConfig() { jim = new JobImport(); expnpd = new ExpensesPayDetail(); ecc = new ExpensesClearCash(); erf = new ExpensesRefund(); xC.xtDB.stfDB.setCboStaff(cboStaff, userId); xC.setCboYear(cboYear); jim = xC.manDB.jimDB.selectByPk1(jobId); ecc = xC.accDB.eccDB.selectByPk1(eccDoc); txtJobCode.Value = jim.job_import_code; DateTime erfDate = DateTime.Now; txtErfDate.Value = erfDate.Year.ToString() + "-" + erfDate.ToString("MM-dd"); btnSave.Click += BtnSave_Click; initGrfErf(); setGrfErf(); setControlEcc(eccDoc); if (!eccDoc.Equals("")) { grfErf.Enabled = false; } }
private void initConfig() { fEdit = new Font(xC.iniC.grdViewFontName, xC.grdViewFontSize, FontStyle.Regular); fEditB = new Font(xC.iniC.grdViewFontName, xC.grdViewFontSize, FontStyle.Bold); C1ThemeController.ApplicationTheme = xC.iniC.themeApplication; theme1.Theme = C1ThemeController.ApplicationTheme; theme1.SetTheme(sB, "BeigeOne"); sB1.Text = ""; chkAll.Click += ChkAll_Click; chkAppvOk.Click += ChkAppvOk_Click; chkAppvWait.Click += ChkAppvWait_Click; stt = new C1SuperTooltip(); sep = new C1SuperErrorProvider(); //stt.BackgroundGradient = C1.Win.C1SuperTooltip.BackgroundGradient.Gold; chkAll.Checked = true; xC.setCboYear(cboYear); initGrfDept(); setGrfDeptH(); chkAppvWait.Checked = true; }
private void initConfig() { jim = new JobImport(); ecc = new ExpensesClearCash(); xC.setCboYear(cboYear); chkAppvWait.Checked = true; initGrfEcc(); initGrfEccD(); initGrPd(); initGrDd(); initGrfRefund(); setGrfEcc(); }
private void initConfig() { jim = new JobImport(); ecc = new ExpensesClearCash(); xC.setCboYear(cboYear); xC.xtDB.stfDB.setCboStaff(cboStaff, ""); chkAppvWait.Checked = true; cboStaff.SelectedItemChanged += CboStaff_SelectedItemChanged; btnRefund.Click += BtnRefund_Click; btnDNew.Click += BtnDNew_Click; btnCal.Click += BtnCal_Click; btnSave.Click += BtnSave_Click; initGrfEcc(); initGrPd(); }
private void initConfig() { fEdit = new Font(xC.iniC.grdViewFontName, xC.grdViewFontSize, FontStyle.Regular); fEditB = new Font(xC.iniC.grdViewFontName, xC.grdViewFontSize, FontStyle.Bold); C1ThemeController.ApplicationTheme = xC.iniC.themeApplication; theme1.Theme = C1ThemeController.ApplicationTheme; theme1.SetTheme(sB, "BeigeOne"); btnNew.Click += BtnNew_Click; sB1.Text = ""; stt = new C1SuperTooltip(); sep = new C1SuperErrorProvider(); //stt.BackgroundGradient = C1.Win.C1SuperTooltip.BackgroundGradient.Gold; xC.setCboYear(cboYear); }