Merge branch 'dep_yangw' of http://175.27.215.92:3000/yangw/ProductionSystem into dep_yangw

dep_yangw
我叫锄头 11 months ago
commit 0f584b28c6

@ -190,7 +190,10 @@ namespace ProductionSystem.Forms
var selectedItem = cmbProductType.SelectedItem as ListItem;
if (selectedItem == null || string.IsNullOrEmpty(selectedItem.Value))
{
CustomMessageBoxHelper.AlertShow(this, "产品型号为空!");
if(selectedItem.Text != "--请选择--")
{
CustomMessageBoxHelper.AlertShow(this, "产品型号为空!");
}
return;
}
Program.ProductType = selectedItem.Value;//选中的产品型号

@ -108,7 +108,7 @@
this.txtMaxVal.Location = new System.Drawing.Point(148, 5);
this.txtMaxVal.Name = "txtMaxVal";
this.txtMaxVal.Properties.AutoHeight = false;
this.txtMaxVal.Properties.NullValuePrompt = "电流上限";
this.txtMaxVal.Properties.NullValuePrompt = "上限";
this.txtMaxVal.Size = new System.Drawing.Size(77, 27);
this.txtMaxVal.StyleController = this.layoutControl1;
this.txtMaxVal.TabIndex = 5;
@ -118,7 +118,7 @@
this.txtMinVal.Location = new System.Drawing.Point(235, 5);
this.txtMinVal.Name = "txtMinVal";
this.txtMinVal.Properties.AutoHeight = false;
this.txtMinVal.Properties.NullValuePrompt = "电流下限";
this.txtMinVal.Properties.NullValuePrompt = "下限";
this.txtMinVal.Size = new System.Drawing.Size(77, 27);
this.txtMinVal.StyleController = this.layoutControl1;
this.txtMinVal.TabIndex = 6;

Loading…
Cancel
Save