Browse Source

添加 出入库称重

master
wugang 8 years ago
parent
commit
b8087b7fb1
3 changed files with 35 additions and 3 deletions
  1. +4
    -0
      TrunksIousOutInStore/TrunksIousOutInStore.csproj
  2. +3
    -2
      TrunksIousOutInStore/TrunksIousOutInStoreForm.Designer.cs
  3. +28
    -1
      TrunksIousOutInStore/TrunksIousOutInStoreForm.cs

+ 4
- 0
TrunksIousOutInStore/TrunksIousOutInStore.csproj View File

@ -71,4 +71,8 @@
<Content Include="模块说明.txt" /> <Content Include="模块说明.txt" />
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>
</PostBuildEvent>
</PropertyGroup>
</Project> </Project>

+ 3
- 2
TrunksIousOutInStore/TrunksIousOutInStoreForm.Designer.cs View File

@ -320,7 +320,7 @@
this.groupBox3.Controls.Add(this.uDataGridView2); this.groupBox3.Controls.Add(this.uDataGridView2);
this.groupBox3.Location = new System.Drawing.Point(3, 3); this.groupBox3.Location = new System.Drawing.Point(3, 3);
this.groupBox3.Name = "groupBox3"; this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(718, 316);
this.groupBox3.Size = new System.Drawing.Size(718, 319);
this.groupBox3.TabIndex = 0; this.groupBox3.TabIndex = 0;
this.groupBox3.TabStop = false; this.groupBox3.TabStop = false;
this.groupBox3.Text = "产品明细"; this.groupBox3.Text = "产品明细";
@ -354,7 +354,7 @@
this.uDataGridView2.RowsDefaultCellStyle = dataGridViewCellStyle6; this.uDataGridView2.RowsDefaultCellStyle = dataGridViewCellStyle6;
this.uDataGridView2.RowTemplate.Height = 23; this.uDataGridView2.RowTemplate.Height = 23;
this.uDataGridView2.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.uDataGridView2.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.uDataGridView2.Size = new System.Drawing.Size(712, 296);
this.uDataGridView2.Size = new System.Drawing.Size(712, 299);
this.uDataGridView2.TabIndex = 0; this.uDataGridView2.TabIndex = 0;
// //
// TrunksIousOutInStoreForm // TrunksIousOutInStoreForm
@ -368,6 +368,7 @@
this.Name = "TrunksIousOutInStoreForm"; this.Name = "TrunksIousOutInStoreForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "胴体白条出入库"; this.Text = "胴体白条出入库";
this.KeyUp += new System.Windows.Forms.KeyEventHandler(this.TrunksIousOutInStoreForm_KeyUp);
this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel1.ResumeLayout(false);
this.splitContainer1.Panel2.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();


+ 28
- 1
TrunksIousOutInStore/TrunksIousOutInStoreForm.cs View File

@ -6,14 +6,41 @@ using System.Drawing;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Windows.Forms; using System.Windows.Forms;
using BO.Utils;
namespace TrunksIousOutInStore namespace TrunksIousOutInStore
{ {
public partial class TrunksIousOutInStoreForm : Form
public partial class TrunksIousOutInStoreForm : Form,IAfterLogin
{ {
public TrunksIousOutInStoreForm() public TrunksIousOutInStoreForm()
{ {
InitializeComponent(); InitializeComponent();
} }
private void TrunksIousOutInStoreForm_KeyUp(object sender, KeyEventArgs e)
{
switch (e.KeyData)
{
case Keys.S:
break;
case Keys.E:
break;
default:
richTextBox1.Text += (char)e.KeyValue;
break;
}
}
public string RoleName {
get { return "胴体白条出入库"; }
}
public Form Generate()
{
return this;
}
} }
} }

Loading…
Cancel
Save