Пример #1
0
 //绑定基础信息类
 private void BindBasicItem()
 {
     Item = new WSV.Model.Record.D_CubetyModel();
     Item.ID = this.Id;
     Item.Code = this.Com_Item.SelectedValue.ToString();
     Item.Cubety = Convert.ToDecimal(this.Float_Txt_Cubety.Text.Trim());
 }
Пример #2
0
 //清除所有绑定
 private void ClearBind()
 {
     this.Com_Item.SelectedIndex = 0;
     this.Float_Txt_Cubety.Text = "0";
     this.Id = 0;
     Item = new WSV.Model.Record.D_CubetyModel();
 }