@ -31,104 +31,156 @@
this . btnCancel = new System . Windows . Forms . Button ( ) ;
this . btnOk = new System . Windows . Forms . Button ( ) ;
this . label1 = new System . Windows . Forms . Label ( ) ;
this . cmbMaterial = new System . Windows . Forms . ComboBox ( ) ;
this . txtSetWeight = new System . Windows . Forms . TextBox ( ) ;
this . label3 = new System . Windows . Forms . Label ( ) ;
this . txtMaterialCode = new System . Windows . Forms . TextBox ( ) ;
this . label2 = new System . Windows . Forms . Label ( ) ;
this . txtSetWeight = new System . Windows . Forms . TextBox ( ) ;
this . cmbMaterial = new System . Windows . Forms . ComboBox ( ) ;
this . txtMaterialCode = new System . Windows . Forms . TextBox ( ) ;
this . label4 = new System . Windows . Forms . Label ( ) ;
this . txtPlanId = new System . Windows . Forms . TextBox ( ) ;
this . SuspendLayout ( ) ;
//
// btnCancel
//
this . btnCancel . DialogResult = System . Windows . Forms . DialogResult . Cancel ;
this . btnCancel . Font = new System . Drawing . Font ( "宋体" , 14.25F , System . Drawing . FontStyle . Bold , System . Drawing . GraphicsUnit . Point , ( ( byte ) ( 134 ) ) ) ;
this . btnCancel . Location = new System . Drawing . Point ( 227, 17 9) ;
this . btnCancel . Location = new System . Drawing . Point ( 370, 29 9) ;
this . btnCancel . Margin = new System . Windows . Forms . Padding ( 4 ) ;
this . btnCancel . Name = "btnCancel" ;
this . btnCancel . Size = new System . Drawing . Size ( 1 08 , 48 ) ;
this . btnCancel . Size = new System . Drawing . Size ( 1 47 , 48 ) ;
this . btnCancel . TabIndex = 23 ;
this . btnCancel . Text = "取消 (&C) ";
this . btnCancel . Text = "取消 ";
this . btnCancel . UseVisualStyleBackColor = true ;
this . btnCancel . Click + = new System . EventHandler ( this . btnCancel_Click ) ;
//
// btnOk
//
this . btnOk . Font = new System . Drawing . Font ( "宋体" , 14.25F , System . Drawing . FontStyle . Bold , System . Drawing . GraphicsUnit . Point , ( ( byte ) ( 134 ) ) ) ;
this . btnOk . Location = new System . Drawing . Point ( 96, 17 9) ;
this . btnOk . Location = new System . Drawing . Point ( 190, 29 9) ;
this . btnOk . Margin = new System . Windows . Forms . Padding ( 4 ) ;
this . btnOk . Name = "btnOk" ;
this . btnOk . Size = new System . Drawing . Size ( 1 08 , 48 ) ;
this . btnOk . Size = new System . Drawing . Size ( 1 45 , 48 ) ;
this . btnOk . TabIndex = 22 ;
this . btnOk . Text = "确定 (&O) ";
this . btnOk . Text = "确定 ";
this . btnOk . UseVisualStyleBackColor = true ;
this . btnOk . Click + = new System . EventHandler ( this . btnOk_Click ) ;
//
// label1
//
this . label1 . AutoSize = true ;
this . label1 . Location = new System . Drawing . Point ( 37 , 50 ) ;
this . label1 . Font = new System . Drawing . Font ( "宋体" , 14.25F , System . Drawing . FontStyle . Bold ) ;
this . label1 . Location = new System . Drawing . Point ( 37 , 92 ) ;
this . label1 . Name = "label1" ;
this . label1 . Size = new System . Drawing . Size ( 89, 18 ) ;
this . label1 . Size = new System . Drawing . Size ( 149, 29 ) ;
this . label1 . TabIndex = 19 ;
this . label1 . Text = "物料名称:" ;
//
// cmbMaterial
// label3
//
this . cmbMaterial . FormattingEnabled = true ;
this . cmbMaterial . Location = new System . Drawing . Point ( 133 , 41 ) ;
this . cmbMaterial . Name = "cmbMaterial" ;
this . cmbMaterial . Size = new System . Drawing . Size ( 202 , 26 ) ;
this . cmbMaterial . TabIndex = 24 ;
this . cmbMaterial . SelectedIndexChanged + = new System . EventHandler ( this . cmbMaterial_SelectedIndexChanged ) ;
this . label3 . AutoSize = true ;
this . label3 . Font = new System . Drawing . Font ( "宋体" , 14.25F , System . Drawing . FontStyle . Bold ) ;
this . label3 . Location = new System . Drawing . Point ( 34 , 237 ) ;
this . label3 . Name = "label3" ;
this . label3 . Size = new System . Drawing . Size ( 149 , 29 ) ;
this . label3 . TabIndex = 20 ;
this . label3 . Text = "设置重量:" ;
//
// label2
//
this . label2 . AutoSize = true ;
this . label2 . Font = new System . Drawing . Font ( "宋体" , 14.25F , System . Drawing . FontStyle . Bold ) ;
this . label2 . Location = new System . Drawing . Point ( 94 , 164 ) ;
this . label2 . Name = "label2" ;
this . label2 . Size = new System . Drawing . Size ( 89 , 29 ) ;
this . label2 . TabIndex = 20 ;
this . label2 . Text = "条码:" ;
//
// txtSetWeight
//
this . txtSetWeight . Location = new System . Drawing . Point ( 133 , 130 ) ;
this . txtSetWeight . Margin = new System . Windows . Forms . Padding ( 3 , 4 , 3 , 4 ) ;
this . txtSetWeight . Font = new System . Drawing . Font ( "宋体" , 14.25F , System . Drawing . FontStyle . Bold , System . Drawing . GraphicsUnit . Point , ( ( byte ) ( 134 ) ) ) ;
this . txtSetWeight . Location = new System . Drawing . Point ( 190 , 231 ) ;
this . txtSetWeight . Margin = new System . Windows . Forms . Padding ( 4 ) ;
this . txtSetWeight . Name = "txtSetWeight" ;
this . txtSetWeight . Size = new System . Drawing . Size ( 202 , 28 ) ;
this . txtSetWeight . TabIndex = 18 ;
this . txtSetWeight . Size = new System . Drawing . Size ( 327, 40 ) ;
this . txtSetWeight . TabIndex = 25 ;
//
// label3
// cmbMaterial
//
this . label3 . AutoSize = true ;
this . label3 . Location = new System . Drawing . Point ( 34 , 135 ) ;
this . label3 . Name = "label3" ;
this . label3 . Size = new System . Drawing . Size ( 89 , 18 ) ;
this . label3 . TabIndex = 20 ;
this . label3 . Text = "设置重量:" ;
this . cmbMaterial . DropDownStyle = System . Windows . Forms . ComboBoxStyle . DropDownList ;
this . cmbMaterial . Font = new System . Drawing . Font ( "宋体" , 14.25F , System . Drawing . FontStyle . Bold , System . Drawing . GraphicsUnit . Point , ( ( byte ) ( 134 ) ) ) ;
this . cmbMaterial . FormattingEnabled = true ;
this . cmbMaterial . Items . AddRange ( new object [ ] {
"1" ,
"2" ,
"3" ,
"4" ,
"5" ,
"6" ,
"7" ,
"8" ,
"9" ,
"10" ,
"11" ,
"12" ,
"13" ,
"14" ,
"14" ,
"15" ,
"17" ,
"18" ,
"19" ,
"20" } ) ;
this . cmbMaterial . Location = new System . Drawing . Point ( 190 , 87 ) ;
this . cmbMaterial . Margin = new System . Windows . Forms . Padding ( 4 ) ;
this . cmbMaterial . Name = "cmbMaterial" ;
this . cmbMaterial . Size = new System . Drawing . Size ( 327 , 37 ) ;
this . cmbMaterial . TabIndex = 26 ;
this . cmbMaterial . SelectedIndexChanged + = new System . EventHandler ( this . cmbMaterial_SelectedIndexChanged_1 ) ;
//
// txtMaterialCode
//
this . txtMaterialCode . Location = new System . Drawing . Point ( 133 , 84 ) ;
this . txtMaterialCode . Margin = new System . Windows . Forms . Padding ( 3 , 4 , 3 , 4 ) ;
this . txtMaterialCode . Font = new System . Drawing . Font ( "宋体" , 14.25F , System . Drawing . FontStyle . Bold , System . Drawing . GraphicsUnit . Point , ( ( byte ) ( 134 ) ) ) ;
this . txtMaterialCode . Location = new System . Drawing . Point ( 190 , 158 ) ;
this . txtMaterialCode . Margin = new System . Windows . Forms . Padding ( 4 ) ;
this . txtMaterialCode . Name = "txtMaterialCode" ;
this . txtMaterialCode . ReadOnly = true ;
this . txtMaterialCode . Size = new System . Drawing . Size ( 202 , 28 ) ;
this . txtMaterialCode . TabIndex = 18 ;
this . txtMaterialCode . Size = new System . Drawing . Size ( 327, 40 ) ;
this . txtMaterialCode . TabIndex = 25 ;
//
// label2
// label 4
//
this . label2 . AutoSize = true ;
this . label2 . Location = new System . Drawing . Point ( 70 , 87 ) ;
this . label2 . Name = "label2" ;
this . label2 . Size = new System . Drawing . Size ( 53 , 18 ) ;
this . label2 . TabIndex = 20 ;
this . label2 . Text = "条码:" ;
this . label4 . AutoSize = true ;
this . label4 . Font = new System . Drawing . Font ( "宋体" , 14.25F , System . Drawing . FontStyle . Bold ) ;
this . label4 . Location = new System . Drawing . Point ( 37 , 22 ) ;
this . label4 . Name = "label4" ;
this . label4 . Size = new System . Drawing . Size ( 149 , 29 ) ;
this . label4 . TabIndex = 19 ;
this . label4 . Text = "计划编码:" ;
//
// txtPlanId
//
this . txtPlanId . Font = new System . Drawing . Font ( "宋体" , 14.25F , System . Drawing . FontStyle . Bold , System . Drawing . GraphicsUnit . Point , ( ( byte ) ( 134 ) ) ) ;
this . txtPlanId . Location = new System . Drawing . Point ( 190 , 17 ) ;
this . txtPlanId . Margin = new System . Windows . Forms . Padding ( 4 ) ;
this . txtPlanId . Name = "txtPlanId" ;
this . txtPlanId . Size = new System . Drawing . Size ( 327 , 40 ) ;
this . txtPlanId . TabIndex = 25 ;
//
// FrmNewMaterial
//
this . AutoScaleDimensions = new System . Drawing . SizeF ( 9F , 18F ) ;
this . AutoScaleMode = System . Windows . Forms . AutoScaleMode . Font ;
this . ClientSize = new System . Drawing . Size ( 380 , 257 ) ;
this . ClientSize = new System . Drawing . Size ( 553, 381 ) ;
this . Controls . Add ( this . cmbMaterial ) ;
this . Controls . Add ( this . txtPlanId ) ;
this . Controls . Add ( this . txtMaterialCode ) ;
this . Controls . Add ( this . txtSetWeight ) ;
this . Controls . Add ( this . btnCancel ) ;
this . Controls . Add ( this . btnOk ) ;
this . Controls . Add ( this . label2 ) ;
this . Controls . Add ( this . label4 ) ;
this . Controls . Add ( this . label3 ) ;
this . Controls . Add ( this . label1 ) ;
this . Controls . Add ( this . txtMaterialCode ) ;
this . Controls . Add ( this . txtSetWeight ) ;
this . Name = "FrmNewMaterial" ;
this . StartPosition = System . Windows . Forms . FormStartPosition . CenterScreen ;
this . Text = "物料信息" ;
@ -143,10 +195,12 @@
private System . Windows . Forms . Button btnCancel ;
private System . Windows . Forms . Button btnOk ;
private System . Windows . Forms . Label label1 ;
private System . Windows . Forms . ComboBox cmbMaterial ;
private System . Windows . Forms . TextBox txtSetWeight ;
private System . Windows . Forms . Label label3 ;
private System . Windows . Forms . TextBox txtMaterialCode ;
private System . Windows . Forms . Label label2 ;
private System . Windows . Forms . TextBox txtSetWeight ;
private System . Windows . Forms . ComboBox cmbMaterial ;
private System . Windows . Forms . TextBox txtMaterialCode ;
private System . Windows . Forms . Label label4 ;
private System . Windows . Forms . TextBox txtPlanId ;
}
}