|
|
|
@ -32,11 +32,6 @@ namespace HighWayIot.Winform.UserControlPages
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
{
|
|
|
|
|
this.MaterialDataGridView = new System.Windows.Forms.DataGridView();
|
|
|
|
|
this.MaterialCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.MaterialName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.MaterialType = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.ChildType = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.IsUse = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.AddMaterial = new System.Windows.Forms.Button();
|
|
|
|
|
this.ButtonPanel = new System.Windows.Forms.Panel();
|
|
|
|
|
this.MaterialNameTextbox = new System.Windows.Forms.TextBox();
|
|
|
|
@ -48,6 +43,13 @@ namespace HighWayIot.Winform.UserControlPages
|
|
|
|
|
this.MaterialTypeComboBox = new System.Windows.Forms.ComboBox();
|
|
|
|
|
this.ChildComboBox = new System.Windows.Forms.ComboBox();
|
|
|
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
|
|
|
this.MaterialCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.MaterialName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.MaterialType = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.ChildType = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.IsUse = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
|
|
|
|
this.IsAvailableUseCheckBox = new System.Windows.Forms.CheckBox();
|
|
|
|
|
this.IsUseCheckBox = new System.Windows.Forms.CheckBox();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.MaterialDataGridView)).BeginInit();
|
|
|
|
|
this.ButtonPanel.SuspendLayout();
|
|
|
|
|
this.SuspendLayout();
|
|
|
|
@ -73,40 +75,6 @@ namespace HighWayIot.Winform.UserControlPages
|
|
|
|
|
this.MaterialDataGridView.TabIndex = 0;
|
|
|
|
|
this.MaterialDataGridView.Tag = "";
|
|
|
|
|
//
|
|
|
|
|
// MaterialCode
|
|
|
|
|
//
|
|
|
|
|
this.MaterialCode.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.MaterialCode.DataPropertyName = "MaterialCode";
|
|
|
|
|
this.MaterialCode.HeaderText = "物料编码";
|
|
|
|
|
this.MaterialCode.Name = "MaterialCode";
|
|
|
|
|
//
|
|
|
|
|
// MaterialName
|
|
|
|
|
//
|
|
|
|
|
this.MaterialName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.MaterialName.DataPropertyName = "MaterialName";
|
|
|
|
|
this.MaterialName.HeaderText = "物料名称";
|
|
|
|
|
this.MaterialName.Name = "MaterialName";
|
|
|
|
|
//
|
|
|
|
|
// MaterialType
|
|
|
|
|
//
|
|
|
|
|
this.MaterialType.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.MaterialType.DataPropertyName = "MaterialType";
|
|
|
|
|
this.MaterialType.HeaderText = "物料类型";
|
|
|
|
|
this.MaterialType.Name = "MaterialType";
|
|
|
|
|
//
|
|
|
|
|
// ChildType
|
|
|
|
|
//
|
|
|
|
|
this.ChildType.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.ChildType.DataPropertyName = "ChildType";
|
|
|
|
|
this.ChildType.HeaderText = "物料子类型";
|
|
|
|
|
this.ChildType.Name = "ChildType";
|
|
|
|
|
//
|
|
|
|
|
// IsUse
|
|
|
|
|
//
|
|
|
|
|
this.IsUse.DataPropertyName = "IsUse";
|
|
|
|
|
this.IsUse.HeaderText = "是否启用";
|
|
|
|
|
this.IsUse.Name = "IsUse";
|
|
|
|
|
//
|
|
|
|
|
// AddMaterial
|
|
|
|
|
//
|
|
|
|
|
this.AddMaterial.Location = new System.Drawing.Point(11, 11);
|
|
|
|
@ -122,6 +90,8 @@ namespace HighWayIot.Winform.UserControlPages
|
|
|
|
|
//
|
|
|
|
|
this.ButtonPanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
|
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
|
this.ButtonPanel.Controls.Add(this.IsUseCheckBox);
|
|
|
|
|
this.ButtonPanel.Controls.Add(this.IsAvailableUseCheckBox);
|
|
|
|
|
this.ButtonPanel.Controls.Add(this.ChildComboBox);
|
|
|
|
|
this.ButtonPanel.Controls.Add(this.label3);
|
|
|
|
|
this.ButtonPanel.Controls.Add(this.MaterialTypeComboBox);
|
|
|
|
@ -203,6 +173,7 @@ namespace HighWayIot.Winform.UserControlPages
|
|
|
|
|
this.MaterialTypeComboBox.Name = "MaterialTypeComboBox";
|
|
|
|
|
this.MaterialTypeComboBox.Size = new System.Drawing.Size(124, 20);
|
|
|
|
|
this.MaterialTypeComboBox.TabIndex = 8;
|
|
|
|
|
this.MaterialTypeComboBox.SelectedIndexChanged += new System.EventHandler(this.MaterialTypeComboBox_SelectedIndexChanged);
|
|
|
|
|
//
|
|
|
|
|
// ChildComboBox
|
|
|
|
|
//
|
|
|
|
@ -221,6 +192,62 @@ namespace HighWayIot.Winform.UserControlPages
|
|
|
|
|
this.label3.TabIndex = 9;
|
|
|
|
|
this.label3.Text = "子类型:";
|
|
|
|
|
//
|
|
|
|
|
// MaterialCode
|
|
|
|
|
//
|
|
|
|
|
this.MaterialCode.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.MaterialCode.DataPropertyName = "MaterialCode";
|
|
|
|
|
this.MaterialCode.HeaderText = "物料编码";
|
|
|
|
|
this.MaterialCode.Name = "MaterialCode";
|
|
|
|
|
//
|
|
|
|
|
// MaterialName
|
|
|
|
|
//
|
|
|
|
|
this.MaterialName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.MaterialName.DataPropertyName = "MaterialName";
|
|
|
|
|
this.MaterialName.HeaderText = "物料名称";
|
|
|
|
|
this.MaterialName.Name = "MaterialName";
|
|
|
|
|
//
|
|
|
|
|
// MaterialType
|
|
|
|
|
//
|
|
|
|
|
this.MaterialType.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.MaterialType.DataPropertyName = "MaterialType";
|
|
|
|
|
this.MaterialType.HeaderText = "物料类型";
|
|
|
|
|
this.MaterialType.Name = "MaterialType";
|
|
|
|
|
//
|
|
|
|
|
// ChildType
|
|
|
|
|
//
|
|
|
|
|
this.ChildType.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.ChildType.DataPropertyName = "ChildType";
|
|
|
|
|
this.ChildType.HeaderText = "物料子类型";
|
|
|
|
|
this.ChildType.Name = "ChildType";
|
|
|
|
|
//
|
|
|
|
|
// IsUse
|
|
|
|
|
//
|
|
|
|
|
this.IsUse.DataPropertyName = "IsUse";
|
|
|
|
|
this.IsUse.HeaderText = "是否启用";
|
|
|
|
|
this.IsUse.Name = "IsUse";
|
|
|
|
|
this.IsUse.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
|
|
this.IsUse.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
|
|
|
|
//
|
|
|
|
|
// IsAvailableUseCheckBox
|
|
|
|
|
//
|
|
|
|
|
this.IsAvailableUseCheckBox.AutoSize = true;
|
|
|
|
|
this.IsAvailableUseCheckBox.Location = new System.Drawing.Point(1079, 11);
|
|
|
|
|
this.IsAvailableUseCheckBox.Name = "IsAvailableUseCheckBox";
|
|
|
|
|
this.IsAvailableUseCheckBox.Size = new System.Drawing.Size(120, 16);
|
|
|
|
|
this.IsAvailableUseCheckBox.TabIndex = 11;
|
|
|
|
|
this.IsAvailableUseCheckBox.Text = "是否查询启用状态";
|
|
|
|
|
this.IsAvailableUseCheckBox.UseVisualStyleBackColor = true;
|
|
|
|
|
//
|
|
|
|
|
// IsUseCheckBox
|
|
|
|
|
//
|
|
|
|
|
this.IsUseCheckBox.AutoSize = true;
|
|
|
|
|
this.IsUseCheckBox.Location = new System.Drawing.Point(1079, 34);
|
|
|
|
|
this.IsUseCheckBox.Name = "IsUseCheckBox";
|
|
|
|
|
this.IsUseCheckBox.Size = new System.Drawing.Size(72, 16);
|
|
|
|
|
this.IsUseCheckBox.TabIndex = 12;
|
|
|
|
|
this.IsUseCheckBox.Text = "是否启用";
|
|
|
|
|
this.IsUseCheckBox.UseVisualStyleBackColor = true;
|
|
|
|
|
//
|
|
|
|
|
// MaterialConfigPage
|
|
|
|
|
//
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
|
|
@ -248,14 +275,16 @@ namespace HighWayIot.Winform.UserControlPages
|
|
|
|
|
private Button SelectMaterial;
|
|
|
|
|
private TextBox MaterialNameTextbox;
|
|
|
|
|
private Label label1;
|
|
|
|
|
private DataGridViewTextBoxColumn MaterialCode;
|
|
|
|
|
private DataGridViewTextBoxColumn MaterialName;
|
|
|
|
|
private DataGridViewTextBoxColumn MaterialType;
|
|
|
|
|
private DataGridViewTextBoxColumn ChildType;
|
|
|
|
|
private DataGridViewTextBoxColumn IsUse;
|
|
|
|
|
private ComboBox ChildComboBox;
|
|
|
|
|
private Label label3;
|
|
|
|
|
private ComboBox MaterialTypeComboBox;
|
|
|
|
|
private Label label2;
|
|
|
|
|
private DataGridViewTextBoxColumn MaterialCode;
|
|
|
|
|
private DataGridViewTextBoxColumn MaterialName;
|
|
|
|
|
private DataGridViewTextBoxColumn MaterialType;
|
|
|
|
|
private DataGridViewTextBoxColumn ChildType;
|
|
|
|
|
private DataGridViewCheckBoxColumn IsUse;
|
|
|
|
|
private CheckBox IsUseCheckBox;
|
|
|
|
|
private CheckBox IsAvailableUseCheckBox;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|