private void FrmPB_ZGSCGL_Load(object sender, EventArgs e) { try { strMenuName = RV.UI.UserInfo.menuName; sub.ComboBoxEditBindSPEC(cbo_GG1, ""); sub.ImageComboBoxEditBindGWByGXstr("'ZX'", cbo_CX); sub.ImageComboBoxEditBindGWByGXstr("'ZX'", cbo_GW1); sub.ImageComboBoxEditBindGWByGXstr("'ZX'", imgcbo_cx1); sub.ImageComboBoxEditBindGWByGXstr("'ZX'", imgcbo_cx2); imgcbo_cx1.Properties.Items.Add("全部", "", 0); imgcbo_cx2.Properties.Items.Add("全部", "", 0); cbo_CX.SelectedIndex = 0; cbo_GG1.SelectedIndex = 0; cbo_GW1.SelectedIndex = 0; imgcbo_cx1.SelectedIndex = 0; imgcbo_cx2.SelectedIndex = 0; Query(); BindGGByID(); QueryBGZ(); QueryGG(); } catch (Exception ex) { MessageBox.Show(ex.ToString()); } }
private void FrmPB_XCXMTJ_Load(object sender, EventArgs e) { UserButtonRight.GetBtnFun(this, RV.UI.UserInfo.menuID); Query(); sub.ComboBoxEditBindSPEC(cbo_GG1, ""); cbo_GG1.SelectedIndex = 0; BindGGByID(); }
private void FrmPB_ZXJRLTJ_Load(object sender, EventArgs e) { UserButtonRight.GetBtnFun(this, RV.UI.UserInfo.menuID); Query(); sub.ComboBoxEditBindSPEC(cbo_GG1, ""); cbo_GG1.SelectedIndex = 0; sub.ImageComboBoxEditBindGWByGXstr("'ZX','KP'", cbo_GW1); sub.ImageComboBoxEditBindGWByGXstr("'ZX','KP'", cbo_GW2); cbo_GW1.SelectedIndex = 0; cbo_GW2.SelectedIndex = 0; BindGGByID(); }
private void FrmPB_CXBSCGZ_Load(object sender, EventArgs e) { UserButtonRight.GetBtnFun(this, RV.UI.UserInfo.menuID); strMenuName = RV.UI.UserInfo.menuName; sub.ComboBoxEditBindSPEC(cbo_GG1, ""); sub.ImageComboBoxEditBindGWByGXstr("'ZX'", cbo_CX); sub.ImageComboBoxEditBindGWByGXstr("'ZX'", imgcbo_cx2); cbo_CX.SelectedIndex = 0; sub.ImageComboBoxEditBindGWByGXstr("'ZX'", imgcbo_cx2); imgcbo_cx2.Properties.Items.Add("全部", "", 0); imgcbo_cx2.SelectedIndex = 0; cbo_GG1.SelectedIndex = 0; BindGGByID(); QueryGG(); }