步骤编辑修改
This commit is contained in:
commit
fa836593f5
5 files changed
+215
-186
No files matched your search
@@ -33,7 +33,7 @@ namespace DyeingComputer.Windows
|
||||
//声明一个更新Address的事件
|
||||
public event AddressUpdateHandler AddressUpdated;
|
||||
|
||||
public ViewStep(string Numder ,string P1D,string P2D,string P3D,string P4D,string P5D)
|
||||
public ViewStep(string Numder ,DataRow DAT)
|
||||
{
|
||||
InitializeComponent();
|
||||
this.DataContext = this;
|
||||
@@ -42,11 +42,11 @@ namespace DyeingComputer.Windows
|
||||
boxNAME.Focus();
|
||||
boxNAME.Text = Numder;
|
||||
|
||||
P1.Text = P1D;
|
||||
P2.Text = P2D;
|
||||
P3.Text = P3D;
|
||||
P4.Text = P4D;
|
||||
P5.Text = P5D;
|
||||
P1.Text = DAT.Field<string>("Parameter1");
|
||||
P2.Text = DAT.Field<string>("Parameter2");
|
||||
P3.Text = DAT.Field<string>("Parameter3");
|
||||
P4.Text = DAT.Field<string>("Parameter4");
|
||||
P5.Text = DAT.Field<string>("Parameter5");
|
||||
/* P1.Visibility = Visibility.Collapsed;
|
||||
P1N.Visibility = Visibility.Collapsed;
|
||||
P2.Visibility = Visibility.Collapsed;
|
||||
|
||||
Reference in new issue
Block a user