diff --git a/TrunksIousOutInStore/TrunksIousOutInStore.csproj b/TrunksIousOutInStore/TrunksIousOutInStore.csproj index 13567fa..76dad5f 100644 --- a/TrunksIousOutInStore/TrunksIousOutInStore.csproj +++ b/TrunksIousOutInStore/TrunksIousOutInStore.csproj @@ -71,4 +71,8 @@ + + + + \ No newline at end of file diff --git a/TrunksIousOutInStore/TrunksIousOutInStoreForm.Designer.cs b/TrunksIousOutInStore/TrunksIousOutInStoreForm.Designer.cs index c9a7478..0a3cbfd 100644 --- a/TrunksIousOutInStore/TrunksIousOutInStoreForm.Designer.cs +++ b/TrunksIousOutInStore/TrunksIousOutInStoreForm.Designer.cs @@ -320,7 +320,7 @@ this.groupBox3.Controls.Add(this.uDataGridView2); this.groupBox3.Location = new System.Drawing.Point(3, 3); 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.TabStop = false; this.groupBox3.Text = "产品明细"; @@ -354,7 +354,7 @@ this.uDataGridView2.RowsDefaultCellStyle = dataGridViewCellStyle6; this.uDataGridView2.RowTemplate.Height = 23; 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; // // TrunksIousOutInStoreForm @@ -368,6 +368,7 @@ this.Name = "TrunksIousOutInStoreForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "胴体白条出入库"; + this.KeyUp += new System.Windows.Forms.KeyEventHandler(this.TrunksIousOutInStoreForm_KeyUp); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); diff --git a/TrunksIousOutInStore/TrunksIousOutInStoreForm.cs b/TrunksIousOutInStore/TrunksIousOutInStoreForm.cs index ab233f8..cf867e1 100644 --- a/TrunksIousOutInStore/TrunksIousOutInStoreForm.cs +++ b/TrunksIousOutInStore/TrunksIousOutInStoreForm.cs @@ -6,14 +6,41 @@ using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; +using BO.Utils; namespace TrunksIousOutInStore { - public partial class TrunksIousOutInStoreForm : Form + public partial class TrunksIousOutInStoreForm : Form,IAfterLogin { public TrunksIousOutInStoreForm() { 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; + } } }