Exemple #1
0
        private void Change_Load(object sender, EventArgs e)
        {
            this.jisuan.Parent = null;
            //this.tabPage2.Parent = null;
            //this.tabPage1.Parent = null;
            ImpService.LoadChiCunCard(this, uc);
            ImpService.LoadSheJiDian(this, uc.kuanshiid);

            stylesizedt = StyleService.StyleCombobox(uc.kuanshiid);
            if (stylesizedt != null)
            {
                foreach (DataRow dr in stylesizedt.Rows)
                {
                    //this.chicun.Items.Add(Convert.ToString(dr["尺寸"]));
                    this.chicun01.Items.Add(Convert.ToString(dr["尺寸"]));
                }
            }
        }
 private void pictureBox1_Click(object sender, EventArgs e)
 {
     //if(CreateCustomer.cUSTOMER_ID==0)
     //{
     //    MessageBox.Show("请先选择客户");
     //    return;
     //}
     //if(this.flag== "标准款下单具体")
     //{
     //    new Frm标准款下单具体(this).ShowDialog();
     //}
     //else if(this.flag=="Change")
     //{
     //    new Change(this).ShowDialog();
     //}
     //else if(this.flag=="门店下单选款式")
     //{
     this.frm.model.Dto定制下单.Style_Id            = this.kuanshiid;
     this.frm.model.Dto定制下单.STYLE_CATEGORY_CD   = this.sTYLE_CATEGORY_CD;
     this.frm.model.Dto定制下单.STYLE_FIT_CD        = this.sTYLE_FIT_CD;
     this.frm.model.Dto定制下单.STYLE_SIZE_GROUP_CD = this.sTYLE_SIZE_GROUP_CD;
     //this.frm.model.Dto定制下单.STYLE_SIZE_CD = this.sTYLE_SIZE_CD;
     this.frm.model.Dto定制下单.SYTLE_FABRIC_ID = this.mianliaoid;
     this.frm.mianliaoname.Text             = this.mianliaomingcheng;
     ImpService.LoadChiCunCard(this.frm);
     ImpService.LoadSheJiDian(this.frm, this.frm.model.Dto定制下单.Style_Id);
     Frm定制下单修改尺寸.stylesizedt = StyleService.StyleCombobox(this.frm.model.Dto定制下单.Style_Id);
     if (Frm定制下单修改尺寸.stylesizedt != null)
     {
         foreach (DataRow dr in Frm定制下单修改尺寸.stylesizedt.Rows)
         {
             //this.chicun.Items.Add(Convert.ToString(dr["尺寸"]));
             this.frm.chicun01.Items.Add(Convert.ToString(dr["尺寸"]));
         }
     }
     this.frm.addPics();
     this.frm.xtraTabControl1.SelectedTabPage = this.frm.xtraTabControl1.TabPages[1];
     //}
 }