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());
     }
 }
Beispiel #2
0
 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();
 }
Beispiel #3
0
 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();
 }
Beispiel #4
0
        private void FrmPB_CXSCGG_Load(object sender, EventArgs e)
        {
            UserButtonRight.GetBtnFun(this, RV.UI.UserInfo.menuID);
            strMenuName = RV.UI.UserInfo.menuName;
            sub.ImageComboBoxEditBindGWByGXstr("'ZX'", cbo_GW1);
            cbo_GW1.SelectedIndex = 0;
            sub.ImageComboBoxEditBindGWByGXstr("'ZX'", imgcbo_cx1);
            imgcbo_cx1.Properties.Items.Add("全部", "", 0);
            imgcbo_cx1.SelectedIndex = 0;
            Query();
            QueryBGZ();
            DataTable dtgg = bll_TPB_N_GRD.GetGG();

            cbo_GG2.Properties.Items.Clear();
            cbo_GG2.Properties.Items.Add("");
            for (int i = 0; i < dtgg.Rows.Count; i++)
            {
                cbo_GG2.Properties.Items.Add(dtgg.Rows[i]["C_SPEC"].ToString());
            }
        }
 private void FrmQC_CGSYGL_Add_Load(object sender, EventArgs e)
 {
     try
     {
         common.ImageComboBoxEditBindGWByGXstr("'ZX'", imgcbo_Plant);
         strMenuName = RV.UI.UserInfo.menuName;
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
Beispiel #6
0
 private void FrmQC_GH_Load(object sender, EventArgs e)
 {
     try
     {
         common.ImageComboBoxEditBindGWByGXstr("'ZX'", imgcbo_CX);
         imgcbo_CX.SelectedIndex = 0;
         strMenuName             = RV.UI.UserInfo.menuName;
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }