private void FrmPB_BCBZ_Load(object sender, EventArgs e) { UserButtonRight.GetBtnFun(this, RV.UI.UserInfo.menuID); commonSub.ImageComboBoxEditBindGX("", cbo_GX2, ""); commonSub.ImageComboBoxEditBindGX("", cbo_GX, ""); cbo_GX2.SelectedIndex = 0; cbo_PBSL.SelectedIndex = 0; cbo_BZSL.SelectedIndex = 0; DateTime time = DateTime.Now; de_ST.DateTime = Convert.ToDateTime(time.Year + "/" + time.Month + "/" + time.Day + " 8:0:0"); de_ET.DateTime = de_ST.DateTime.AddYears(1); cbo_GX.SelectedIndex = 0; de_ST1.EditValue = Convert.ToDateTime(time.Year + "/" + time.Month + "/" + time.Day + " 8:0:0"); de_ET1.EditValue = de_ST1.DateTime.AddYears(1); commonSub.ImageComboBoxEditBindPBGZ(cbo_GZ); cbo_GZ.SelectedIndex = 0; }