using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Windows.Forms; using Infragistics.Win.UltraWinGrid; using Infragistics.Win.UltraWinEditors; //基本信息显示区 namespace Core.StlMes.Client.Lims.Data.Mat { public partial class MatShowBase : UserControl { public MatShowBase() { InitializeComponent(); } private void MatShowBase_Load(object sender, EventArgs e) { } //显示基本信息 public void ShowBaseInfo(UltraGridRow ur) { PublicMat.ShowBaseInfo(ur, panel1); } //显示基本信息 public void ShowBaseInfo(UltraGridRow ur, string[] cols) { PublicMat.ShowBaseInfo(ur, panel1, cols); } //显示赋值信息(暂时只有样管号数) public void ShowValue(string strValue) { txtBATCH_NO.Text = strValue;//根据试样号个数确定值 } //改变控件名字 public void ChangeLabel(string strValue) { labSAMPLE_NO.Text = strValue;//取样数 //labSAMPLE_NO.Location = new System.Drawing.Point(196, 12); } public void ClearCheckConsign() { txtCHECK_NO.Text = ""; txtITEM_NAME.Text = ""; txtBATCH_NO.Text = ""; txtPRODUCT_STD.Text = ""; txtGRADE.Text = ""; txtWEIGHT.Text = ""; txtCHECK_COUNT_DESC.Text = ""; txtCONSIGN_DEPT.Text = ""; txtCONSIGN_NAME.Text = ""; txtCONSIGN_TIME.Text = ""; txtREMARK.Text = ""; } } }