| | |
| | | using DevExpress.Pdf.Native.BouncyCastle.Utilities.Collections; |
| | | using DevExpress.XtraLayout.Customization; |
| | | using DevExpress.XtraRichEdit.API.Native; |
| | | using Gs.DevApp.DevFrm.QC; |
| | | using Gs.DevApp.Entity; |
| | |
| | | //清空 |
| | | this.btnClean.Click += (s, e) => |
| | | { |
| | | _setWeigth(1, ""); |
| | | this.txtW1.Text = this.txtW2.Text = this.txtW3.Text = this.txtW4.Text = this.txtW5.Text = ""; |
| | | if (!MsgHelper.AskQuestion("你选择了【" + txt_releaseNo.Text.Trim() + "】,确定清除所有称重数据吗?")) |
| | | return; |
| | | _setWeigth(99, ""); |
| | | |
| | | }; |
| | | } |
| | | /// <summary> |
| | |
| | | txtW5.Text = _weight; |
| | | return; |
| | | } |
| | | if (_weightType == 99) |
| | | { |
| | | this.txtW1.Text = this.txtW2.Text = this.txtW3.Text = this.txtW4.Text = this.txtW5.Text = ""; |
| | | return; |
| | | } |
| | | } |
| | | } |
| | | catch (Exception ex) |