private void btnQuickDate3Year_Click(object sender, EventArgs e) { var dateRange = Commons.MakeDateRange(DateTime.Today, 3 * 365); startDate.Value = dateRange.Item1; endDate.Value = dateRange.Item2; }
private void PrjGuaranteeFrm_Load(object sender, EventArgs e) { toolStrip1.AddControlAfter(startDate, toolStripLabel1); toolStrip1.AddControlAfter(endDate, toolStripLabel2); var dateRange = Commons.MakeDateRange(DateTime.Today); startDate.Value = dateRange.Item1; endDate.Value = dateRange.Item2; }
private void AccBankRunning_Load(object sender, EventArgs e) { this.Text = string.Format(this.Text, m_auId); toolStrip1.AddControlAfter(startDate, toolStripLabel1); toolStrip1.AddControlAfter(endDate, toolStripLabel2); var dateRange = Commons.MakeDateRange(DateTime.Today); startDate.Value = dateRange.Item1; endDate.Value = dateRange.Item2; }
private void AccCreditInsDlg_Load(object sender, EventArgs e) { this.Text = string.Format(this.Text, m_auId); toolStrip1.AddControlAfter(startDate, toolStripLabel1); toolStrip1.AddControlAfter(endDate, toolStripLabel2); cbbTypes.ComboBox.BindTo(STATUS, ExtraItems.AddAll); var dateRange = Commons.MakeDateRange(DateTime.Today); startDate.Value = dateRange.Item1; endDate.Value = dateRange.Item2; }
private void PrjBorPersonFrm_Load(object sender, EventArgs e) { toolStrip1.AddControlAfter(startDate, cbDateType); toolStrip1.AddControlAfter(endDate, toolStripLabel1); var dateRange = Commons.MakeDateRange(DateTime.Today); startDate.Value = dateRange.Item1; endDate.Value = dateRange.Item2; cbDateType.ComboBox.BindTo(DATE_TYPES); cbKeyType.ComboBox.BindTo(KEY_TYPES); }
private void AccPersonsFrm_Load(object sender, EventArgs e) { toolStrip1.AddControlAfter(startDate, toolStripLabel1); toolStrip1.AddControlAfter(endDate, toolStripLabel2); var dateRange = Commons.MakeDateRange(DateTime.Today); startDate.Value = dateRange.Item1; endDate.Value = dateRange.Item2; cbStatus.ComboBox.BindTo(USER_STATUS, ExtraItems.AddAll); cbbLocked.ComboBox.BindTo(USER_LOCKED, ExtraItems.AddAll); }
private void FrmAccOrgs_Load(object sender, EventArgs e) { toolStrip1.AddControlAfter(startDate, cbTimeTypes); toolStrip1.AddControlAfter(endDate, toolStripLabel2); var dateRange = Commons.MakeDateRange(DateTime.Today); startDate.Value = dateRange.Item1; endDate.Value = dateRange.Item2; cbTimeTypes.ComboBox.BindTo(DATE_TYPES, ExtraItems.NoExtra); cbStatus.ComboBox.BindTo(USER_STATUS, ExtraItems.AddAll); cbBankStatus.ComboBox.BindTo(BANK_STATUS, ExtraItems.AddAll); }
private void AccInvestPlatFormDlg_Load(object sender, EventArgs e) { this.Text = string.Format(this.Text, m_auId); toolStrip1.AddControlAfter(startDate, toolStripLabel1); toolStrip1.AddControlAfter(endDate, toolStripLabel2); var dateRange = Commons.MakeDateRange(DateTime.Today); startDate.Value = dateRange.Item1; endDate.Value = dateRange.Item2; cbbStatus.ComboBox.BindTo(INVEST_STATUS, ExtraItems.AddAll); UpdateTable(); }
private void CreditAssignProjectFrm_Load(object sender, EventArgs e) { toolStrip1.AddControlAfter(startDate, cbDateType); toolStrip1.AddControlAfter(endDate, toolStripLabel1); var dateRange = Commons.MakeDateRange(DateTime.Today); startDate.Value = dateRange.Item1; endDate.Value = dateRange.Item2; cbDateType.ComboBox.BindTo(DATE_TYPES, ExtraItems.NoExtra); cbProjType.ComboBox.BindTo(Projects.PrjProperty, ExtraItems.AddAll); cbTransType.ComboBox.BindTo(TRANS_STATUS, ExtraItems.NoExtra); cbKeyValue.ComboBox.BindTo(KEY_VALUE, ExtraItems.NoExtra); }
private void FrmCrmInvestor_Load(object sender, EventArgs e) { toolStrip1.AddControlAfter(startDate, cbDateTypes); toolStrip1.AddControlAfter(endDate, toolStripLabel4); var dateRange = Commons.MakeDateRange(DateTime.Today); startDate.Value = dateRange.Item1; endDate.Value = dateRange.Item2; cbDateTypes.ComboBox.BindTo(DATE_TYPES, ExtraItems.NoExtra); cbPrLevels.ComboBox.BindTo(CrmCommons.PrLevels, ExtraItems.AddAll); m_selUName = ""; tbOpUser.Text = CrmCommons.TextBoxShow(CrmCommons.NONE_TEXT); }
private void EnterprisePrjFrm_Load(object sender, EventArgs e) { toolStrip1.AddControlAfter(startDate, cbbTimeTypes); toolStrip1.AddControlAfter(endDate, toolStripLabel3); var dateRange = Commons.MakeDateRange(DateTime.Today); startDate.Value = dateRange.Item1; endDate.Value = dateRange.Item2; cbbTimeTypes.ComboBox.BindTo(TIME_TYPES); cbbPrjType.ComboBox.BindTo(Projects.PrjProperty, ExtraItems.AddAll); cbStatus.ComboBox.BindTo(STATUS, ExtraItems.AddAll); cbStatus.ComboBox.SelectedIndex = 6; cbTypes.ComboBox.BindTo(KEY_TYPES); }
private void RegUserFrm_Load(object sender, EventArgs e) { toolStrip1.AddControlAfter(startDate, toolStripLabel6); toolStrip1.AddControlAfter(endDate, toolStripLabel3); var dateRange = Commons.MakeDateRange(DateTime.Today); startDate.Value = dateRange.Item1; endDate.Value = dateRange.Item2; cbbDepartment.ComboBox.Items.AddRange(new object[] { "全部", "无" }); cbbDepartment.ComboBox.Items.AddRange(CrmCommons.Department); cbbDepartment.SelectedIndex = 0; cbbJxStatus.ComboBox.BindTo(CrmCommons.JxUserStatus, ExtraItems.AddAll); m_selUName = ""; tbOpUser.Text = CrmCommons.TextBoxShow(CrmCommons.NONE_TEXT); }
private void FrmCrmMyInvestors_Load(object sender, EventArgs e) { toolStrip2.AddControlAfter(startDate, toolStripLabel8); toolStrip2.AddControlAfter(endDate, toolStripLabel9); var dateRange = Commons.MakeDateRange(DateTime.Today); startDate.Value = dateRange.Item1; endDate.Value = dateRange.Item2; cbbPrLevels.ComboBox.BindTo(MY_CUSTOMER_PR_LEVELS, ExtraItems.AddAll); cbbAge.ComboBox.BindTo(CrmCommons.Ages, ExtraItems.AddAll); cbbGenders.ComboBox.BindTo(Commons.Genders, ExtraItems.AddAll); cbbCustomerSource.ComboBox.Items.AddRange(CrmCommons.SrTypes); cbbAccStatus.ComboBox.BindTo(REG_STATUS, ExtraItems.AddAll); m_selUName = "+"; tbOpUser.Text = CrmCommons.TextBoxShow(CrmCommons.SELF_TEXT); }
private void CrmMyRegUsersFrm_Load(object sender, EventArgs e) { toolStrip1.AddControlAfter(dtpSearchDate, toolStripLabel2); toolStrip2.AddControlAfter(startDate, toolStripLabel7); toolStrip2.AddControlAfter(endDate, toolStripLabel8); var dateRange = Commons.MakeDateRange(); startDate.Value = dateRange.Item1; endDate.Value = dateRange.Item2; cbbAge.ComboBox.BindTo(CrmCommons.Ages, ExtraItems.AddAll); cbbGender.ComboBox.BindTo(Commons.Genders, ExtraItems.AddAll); cbbAccType.ComboBox.BindTo(CrmCommons.CustomerTypes, ExtraItems.AddAll); cbbAccStatus.ComboBox.BindTo(CrmCommons.JxUserStatus, ExtraItems.AddAll); m_selUName = "+"; tbOpUser.Text = CrmCommons.TextBoxShow(CrmCommons.SELF_TEXT); }