From 796e6042d5d3113f4c4c68f90ca44d95b8855c5e Mon Sep 17 00:00:00 2001 From: "liang.cui" Date: Thu, 17 Mar 2022 16:25:24 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=91=E6=9D=AF=E6=9D=8E=E5=B0=94=EF=BC=8C?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=B8=A4=E4=B8=AA=E8=8F=9C=E5=8D=95=EF=BC=9A?= =?UTF-8?q?=201.=E5=86=85=E9=83=A8=E6=A0=87=E7=AD=BE=E6=9F=A5=E8=AF=A2=202?= =?UTF-8?q?.VDA=E6=A0=87=E7=AD=BE=E7=85=A7=E6=A0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PDAForm/PDAForm/Bill/VDA/VDA.rar | Bin 0 -> 12283 bytes .../Bill/VDA/frmBarCodeSelect.Designer.cs | 102 ++++ PDAForm/PDAForm/Bill/VDA/frmBarCodeSelect.cs | 47 ++ ...本 frmVDA.resx => frmBarCodeSelect.resx} | 3 + .../PDAForm/Bill/VDA/frmVDACheck.Designer.cs | 103 ++++ PDAForm/PDAForm/Bill/VDA/frmVDACheck.cs | 43 ++ PDAForm/PDAForm/Bill/VDA/frmVDACheck.resx | 132 +++++ PDAForm/PDAForm/Bill/VDA/副本 F_VDA.cs | 61 --- .../Bill/VDA/副本 frmVDA.Designer.cs | 236 -------- PDAForm/PDAForm/Bill/VDA/副本 frmVDA.cs | 505 ------------------ PDAForm/PDAForm/PDAForm.csproj | 20 +- PDAForm/PDAForm/PDAForm.xml | 2 +- PDAForm/PDAForm/frmMain.Designer.cs | 34 +- PDAForm/PDAForm/frmMain.cs | 30 +- PDAForm/PDAForm/frmMain.resx | 116 ++-- 15 files changed, 573 insertions(+), 861 deletions(-) create mode 100644 PDAForm/PDAForm/Bill/VDA/VDA.rar create mode 100644 PDAForm/PDAForm/Bill/VDA/frmBarCodeSelect.Designer.cs create mode 100644 PDAForm/PDAForm/Bill/VDA/frmBarCodeSelect.cs rename PDAForm/PDAForm/Bill/VDA/{副本 frmVDA.resx => frmBarCodeSelect.resx} (96%) create mode 100644 PDAForm/PDAForm/Bill/VDA/frmVDACheck.Designer.cs create mode 100644 PDAForm/PDAForm/Bill/VDA/frmVDACheck.cs create mode 100644 PDAForm/PDAForm/Bill/VDA/frmVDACheck.resx delete mode 100644 PDAForm/PDAForm/Bill/VDA/副本 F_VDA.cs delete mode 100644 PDAForm/PDAForm/Bill/VDA/副本 frmVDA.Designer.cs delete mode 100644 PDAForm/PDAForm/Bill/VDA/副本 frmVDA.cs diff --git a/PDAForm/PDAForm/Bill/VDA/VDA.rar b/PDAForm/PDAForm/Bill/VDA/VDA.rar new file mode 100644 index 0000000000000000000000000000000000000000..a51a23dbf006f668c01beec5f5781ac330067c6e GIT binary patch literal 12283 zcmY+K19u%zyKaLW+eU-Nww=bdy?1Qewrw}I&Bk_PCyg58_T2BgW8Cu-))?zu&wS>) zRE(Xz;lqG~-R}imAb>-`fI)+U2LuFw{l@K4V}yW2m`el$q{e}hVlRap1VDnJ9!1t2 z=lmqKaI)197hyDYhKGa@K-_7`=2-)uQkjBf4p$Rn72*gp?2&mEoPLh2(lp(?{~4r| zge8uyM2fQqTeP+_K@@x4Qm2==QKZzGh8}2CrK|;LPDD?EkAR{jEdh8;tsK4(qjdge z<1$qEYw@6vNDMnH(!B#@%k`Z4h$Cj1y~%H40p4ln%+%6PY3~t#)Vadl&5qJR#5}}h zlOMe>2rAbmWHO)8$O^yQ_BO@y;5q5QmdyzBQfU=`5F*(FxuG7+Nh_$4=uL6p}r4 zOeWO|6FDe7p&@0cg7r}844aoDlR&A6$=4`ic_*)t6;DP3-0|bReQ0r%CnyqO6jr<> zM$1U-Ujr5(lIq2yc&+rOT>a8O+su4sD}mr5);oDA_N^4kNv#KDMeH~d4oGuxF^p^U z2c>VoNkju4%}g@(t>PGX;~D&Yt-F)h9;|za06iHUZ<;55=~El;kKBbJ*y?jGwsL8J zBDMjuFoZs{bO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$<}j2?Q`1$Q31SAJiV7Ud4|(2JRj%R@-taEBkqKa=GpK^SyWj;5T#fhvL5(@YuT zRP)P}pCv+am^fL^wxCjh5ah&7LR3^h{{7n#T@3U0TF*kxp)qf$Pxn-Z!!k+fUSRv= zWOo;Wkv$95~liHI_P1W@9Q3Rl>nAZ%!Om{G8 zi)pJu)sPbZqQp8YSRoB zs8q%3GPapEC6_n&@LC$u5XPfb;{)fwj3cB!5^Z-`Z4c*pzew0wj6r(@g?_auv8)kD z1^?m3rX>m62?iPBEM}K|G22Yw!FInJF@v=iwR`e7`nlhHczSgR3PeFUWgF*X;YE={ ze?A#*ddbv0z^siZVqF^2H7X5MZ)&nS+L~zVn{05#7DLx=U!3+Nsz%9md}tAKfd)FA zP`xAyK~}b-6h2=b-2Nz + /// 必需的设计器变量。 + /// + private System.ComponentModel.IContainer components = null; + private System.Windows.Forms.MainMenu mainMenu1; + + /// + /// 清理所有正在使用的资源。 + /// + /// 如果应释放托管资源,为 true;否则为 false。 + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows 窗体设计器生成的代码 + + /// + /// 设计器支持所需的方法 - 不要 + /// 使用代码编辑器修改此方法的内容。 + /// + private void InitializeComponent() + { + this.mainMenu1 = new System.Windows.Forms.MainMenu(); + this.txt_barcode = new System.Windows.Forms.TextBox(); + this.label2 = new System.Windows.Forms.Label(); + this.txt_vda = new System.Windows.Forms.TextBox(); + this.label3 = new System.Windows.Forms.Label(); + this.SuspendLayout(); + // + // txt_barcode + // + this.txt_barcode.Location = new System.Drawing.Point(3, 158); + this.txt_barcode.MaxLength = 40; + this.txt_barcode.Multiline = true; + this.txt_barcode.Name = "txt_barcode"; + this.txt_barcode.ReadOnly = true; + this.txt_barcode.Size = new System.Drawing.Size(228, 72); + this.txt_barcode.TabIndex = 22; + // + // label2 + // + this.label2.Location = new System.Drawing.Point(3, 136); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(127, 20); + this.label2.Text = "内部标签参考号:"; + // + // txt_vda + // + this.txt_vda.Location = new System.Drawing.Point(5, 52); + this.txt_vda.MaxLength = 40; + this.txt_vda.Multiline = true; + this.txt_vda.Name = "txt_vda"; + this.txt_vda.Size = new System.Drawing.Size(228, 64); + this.txt_vda.TabIndex = 21; + this.txt_vda.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt_vda_KeyPress); + // + // label3 + // + this.label3.Location = new System.Drawing.Point(5, 31); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(121, 20); + this.label3.Text = "VDA标签扫描:"; + // + // frmBarCodeSelect + // + this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; + this.AutoScroll = true; + this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); + this.ClientSize = new System.Drawing.Size(238, 275); + this.Controls.Add(this.txt_barcode); + this.Controls.Add(this.label2); + this.Controls.Add(this.txt_vda); + this.Controls.Add(this.label3); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; + this.MaximizeBox = false; + this.Menu = this.mainMenu1; + this.MinimizeBox = false; + this.Name = "frmBarCodeSelect"; + this.Text = "内部参考号查询"; + this.Load += new System.EventHandler(this.frmBarCodeSelect_Load); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.TextBox txt_barcode; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.TextBox txt_vda; + private System.Windows.Forms.Label label3; + } +} \ No newline at end of file diff --git a/PDAForm/PDAForm/Bill/VDA/frmBarCodeSelect.cs b/PDAForm/PDAForm/Bill/VDA/frmBarCodeSelect.cs new file mode 100644 index 0000000..631fa64 --- /dev/null +++ b/PDAForm/PDAForm/Bill/VDA/frmBarCodeSelect.cs @@ -0,0 +1,47 @@ +using System; + +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Text; +using System.Windows.Forms; + +namespace PDAForm.Bill.VDA +{ + public partial class frmBarCodeSelect : Form + { + public frmBarCodeSelect() + { + InitializeComponent(); + } + + private void txtPackageNo2_KeyDown(object sender, KeyEventArgs e) + { + + } + + private void txtPackageNo1_KeyDown(object sender, KeyEventArgs e) + { + + } + + private void frmBarCodeSelect_Load(object sender, EventArgs e) + { + txt_vda.Focus(); + } + + private void txt_vda_KeyPress(object sender, KeyPressEventArgs e) + { + try + { + + } + catch (Exception) + { + + throw; + } + } + } +} \ No newline at end of file diff --git a/PDAForm/PDAForm/Bill/VDA/副本 frmVDA.resx b/PDAForm/PDAForm/Bill/VDA/frmBarCodeSelect.resx similarity index 96% rename from PDAForm/PDAForm/Bill/VDA/副本 frmVDA.resx rename to PDAForm/PDAForm/Bill/VDA/frmBarCodeSelect.resx index a721046..d04e463 100644 --- a/PDAForm/PDAForm/Bill/VDA/副本 frmVDA.resx +++ b/PDAForm/PDAForm/Bill/VDA/frmBarCodeSelect.resx @@ -117,6 +117,9 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 17, 17 + WEBPAD diff --git a/PDAForm/PDAForm/Bill/VDA/frmVDACheck.Designer.cs b/PDAForm/PDAForm/Bill/VDA/frmVDACheck.Designer.cs new file mode 100644 index 0000000..60f5475 --- /dev/null +++ b/PDAForm/PDAForm/Bill/VDA/frmVDACheck.Designer.cs @@ -0,0 +1,103 @@ +namespace PDAForm.Bill.VDA +{ + partial class frmVDACheck + { + /// + /// 必需的设计器变量。 + /// + private System.ComponentModel.IContainer components = null; + private System.Windows.Forms.MainMenu mainMenu1; + + /// + /// 清理所有正在使用的资源。 + /// + /// 如果应释放托管资源,为 true;否则为 false。 + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows 窗体设计器生成的代码 + + /// + /// 设计器支持所需的方法 - 不要 + /// 使用代码编辑器修改此方法的内容。 + /// + private void InitializeComponent() + { + this.mainMenu1 = new System.Windows.Forms.MainMenu(); + this.mainMenu2 = new System.Windows.Forms.MainMenu(); + this.txt_barcode = new System.Windows.Forms.TextBox(); + this.label2 = new System.Windows.Forms.Label(); + this.txt_vda = new System.Windows.Forms.TextBox(); + this.label3 = new System.Windows.Forms.Label(); + this.SuspendLayout(); + // + // txt_barcode + // + this.txt_barcode.Location = new System.Drawing.Point(4, 165); + this.txt_barcode.MaxLength = 40; + this.txt_barcode.Multiline = true; + this.txt_barcode.Name = "txt_barcode"; + this.txt_barcode.ReadOnly = true; + this.txt_barcode.Size = new System.Drawing.Size(228, 72); + this.txt_barcode.TabIndex = 26; + // + // label2 + // + this.label2.Location = new System.Drawing.Point(4, 143); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(127, 20); + this.label2.Text = "内部标签扫描:"; + // + // txt_vda + // + this.txt_vda.Location = new System.Drawing.Point(6, 59); + this.txt_vda.MaxLength = 40; + this.txt_vda.Multiline = true; + this.txt_vda.Name = "txt_vda"; + this.txt_vda.Size = new System.Drawing.Size(228, 64); + this.txt_vda.TabIndex = 25; + this.txt_vda.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt_vda_KeyPress_1); + // + // label3 + // + this.label3.Location = new System.Drawing.Point(6, 38); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(121, 20); + this.label3.Text = "VDA标签扫描:"; + // + // frmVDACheck + // + this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; + this.AutoScroll = true; + this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); + this.ClientSize = new System.Drawing.Size(238, 275); + this.Controls.Add(this.txt_barcode); + this.Controls.Add(this.label2); + this.Controls.Add(this.txt_vda); + this.Controls.Add(this.label3); + this.MaximizeBox = false; + this.Menu = this.mainMenu1; + this.MinimizeBox = false; + this.Name = "frmVDACheck"; + this.Text = "VDA标签照核"; + this.Load += new System.EventHandler(this.frmVDACheck_Load); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.MainMenu mainMenu2; + private System.Windows.Forms.TextBox txt_barcode; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.TextBox txt_vda; + private System.Windows.Forms.Label label3; + } +} \ No newline at end of file diff --git a/PDAForm/PDAForm/Bill/VDA/frmVDACheck.cs b/PDAForm/PDAForm/Bill/VDA/frmVDACheck.cs new file mode 100644 index 0000000..85e8e18 --- /dev/null +++ b/PDAForm/PDAForm/Bill/VDA/frmVDACheck.cs @@ -0,0 +1,43 @@ +using System; + +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Text; +using System.Windows.Forms; + +namespace PDAForm.Bill.VDA +{ + public partial class frmVDACheck : Form + { + public frmVDACheck() + { + InitializeComponent(); + } + + private void txt_vda_KeyPress(object sender, KeyPressEventArgs e) + { + + } + + private void frmVDACheck_Load(object sender, EventArgs e) + { + try + { + + } + catch (Exception) + { + + throw; + } + } + + private void txt_vda_KeyPress_1(object sender, KeyPressEventArgs e) + { + + txt_vda.Focus(); + } + } +} \ No newline at end of file diff --git a/PDAForm/PDAForm/Bill/VDA/frmVDACheck.resx b/PDAForm/PDAForm/Bill/VDA/frmVDACheck.resx new file mode 100644 index 0000000..257e719 --- /dev/null +++ b/PDAForm/PDAForm/Bill/VDA/frmVDACheck.resx @@ -0,0 +1,132 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + + 139, 17 + + + WEBPAD + + + False + + \ No newline at end of file diff --git a/PDAForm/PDAForm/Bill/VDA/副本 F_VDA.cs b/PDAForm/PDAForm/Bill/VDA/副本 F_VDA.cs deleted file mode 100644 index 9a25702..0000000 --- a/PDAForm/PDAForm/Bill/VDA/副本 F_VDA.cs +++ /dev/null @@ -1,61 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; -using System.Windows.Forms; -using PDAForm.Comm; -using System.Data; -using PDAForm.PDABiz; - -namespace PDAForm.Bill.VDA -{ - public class F_VDA - { - //单据编号 - public string BillNo = ""; - public string billType = "VDA"; - public DataSet dsBill = null; - - /// - /// 新建单据 - /// - public void BillNew(DataGrid dg) - { - string Cmd = "BILL_NEW_" + billType; - string Pars = BillNo + ";" + UserInfo.UserName; - - MyCommand cmd = new MyCommand(Cmd, Pars); - dsBill = F_Message.ServiceMessage(cmd.GetCommand()); - - dg.DataSource = dsBill.Tables[0]; - DataGridTableStyle style = new DataGridTableStyle(); - style.MappingName = dsBill.Tables[0].TableName; - dg.TableStyles.Clear(); - dg.TableStyles.Add(style); - dg.TableStyles[0].GridColumnStyles["PartNumber"].HeaderText = "零件号"; - dg.TableStyles[0].GridColumnStyles["BarCode"].HeaderText = "校验条码"; - dg.TableStyles[0].GridColumnStyles["PackageNo"].HeaderText = "包装号"; - dg.TableStyles[0].GridColumnStyles["Qty"].HeaderText = "数量"; - dg.TableStyles[0].GridColumnStyles["Qtyed"].HeaderText = "校验数量"; - dg.TableStyles[0].GridColumnStyles["EnglishName"].HeaderText = "描述"; - dg.TableStyles[0].GridColumnStyles["AsnNumber"].Width = 0; - dg.TableStyles[0].GridColumnStyles["IsCheck"].HeaderText = "是否校验"; - - } - - /// - /// 提交单据 - /// - public void BillSubmit() - { - string Cmd = "BILL_SUBMIT_" + billType; - string Pars = UserInfo.UserName; - - MyCommand cmd = new MyCommand(Cmd, Pars); - F_Message.ServiceMessage(cmd.GetCommand(), dsBill); - - } - - - - } -} diff --git a/PDAForm/PDAForm/Bill/VDA/副本 frmVDA.Designer.cs b/PDAForm/PDAForm/Bill/VDA/副本 frmVDA.Designer.cs deleted file mode 100644 index 00f0281..0000000 --- a/PDAForm/PDAForm/Bill/VDA/副本 frmVDA.Designer.cs +++ /dev/null @@ -1,236 +0,0 @@ -namespace PDAForm.Bill.VDA -{ - partial class frmVDA - { - /// - /// 必需的设计器变量。 - /// - private System.ComponentModel.IContainer components = null; - - /// - /// 清理所有正在使用的资源。 - /// - /// 如果应释放托管资源,为 true;否则为 false。 - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows 窗体设计器生成的代码 - - /// - /// 设计器支持所需的方法 - 不要 - /// 使用代码编辑器修改此方法的内容。 - /// - private void InitializeComponent() - { - this.dgShow = new System.Windows.Forms.DataGrid(); - this.label1 = new System.Windows.Forms.Label(); - this.txtBillNo = new System.Windows.Forms.TextBox(); - this.txtBarCode = new System.Windows.Forms.TextBox(); - this.label3 = new System.Windows.Forms.Label(); - this.btnSubmit = new System.Windows.Forms.Button(); - this.btnExit = new System.Windows.Forms.Button(); - this.btnDelete = new System.Windows.Forms.Button(); - this.lblState = new System.Windows.Forms.Label(); - this.txtBarCode1 = new System.Windows.Forms.TextBox(); - this.label2 = new System.Windows.Forms.Label(); - this.txtBarCode2 = new System.Windows.Forms.TextBox(); - this.label4 = new System.Windows.Forms.Label(); - this.txtQty = new System.Windows.Forms.TextBox(); - this.label5 = new System.Windows.Forms.Label(); - this.chkBox = new System.Windows.Forms.CheckBox(); - this.SuspendLayout(); - // - // dgShow - // - this.dgShow.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))); - this.dgShow.Location = new System.Drawing.Point(2, 142); - this.dgShow.Name = "dgShow"; - this.dgShow.Size = new System.Drawing.Size(234, 86); - this.dgShow.TabIndex = 3; - // - // label1 - // - this.label1.Location = new System.Drawing.Point(3, 6); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(100, 20); - this.label1.Text = "ASN单号:"; - // - // txtBillNo - // - this.txtBillNo.Location = new System.Drawing.Point(76, 2); - this.txtBillNo.MaxLength = 30; - this.txtBillNo.Name = "txtBillNo"; - this.txtBillNo.Size = new System.Drawing.Size(159, 23); - this.txtBillNo.TabIndex = 0; - this.txtBillNo.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtBillNo_KeyDown); - // - // txtBarCode - // - this.txtBarCode.Location = new System.Drawing.Point(76, 29); - this.txtBarCode.MaxLength = 40; - this.txtBarCode.Name = "txtBarCode"; - this.txtBarCode.Size = new System.Drawing.Size(159, 23); - this.txtBarCode.TabIndex = 2; - this.txtBarCode.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtBarCode_KeyDown); - // - // label3 - // - this.label3.Location = new System.Drawing.Point(3, 32); - this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(100, 20); - this.label3.Text = "左Kolli号:"; - // - // btnSubmit - // - this.btnSubmit.Location = new System.Drawing.Point(7, 234); - this.btnSubmit.Name = "btnSubmit"; - this.btnSubmit.Size = new System.Drawing.Size(72, 38); - this.btnSubmit.TabIndex = 4; - this.btnSubmit.Text = "提交数据"; - this.btnSubmit.Click += new System.EventHandler(this.btnSubmit_Click); - // - // btnExit - // - this.btnExit.Location = new System.Drawing.Point(163, 234); - this.btnExit.Name = "btnExit"; - this.btnExit.Size = new System.Drawing.Size(72, 38); - this.btnExit.TabIndex = 5; - this.btnExit.Text = "返回主菜单"; - this.btnExit.Click += new System.EventHandler(this.btnExit_Click); - // - // btnDelete - // - this.btnDelete.Location = new System.Drawing.Point(85, 234); - this.btnDelete.Name = "btnDelete"; - this.btnDelete.Size = new System.Drawing.Size(72, 38); - this.btnDelete.TabIndex = 14; - this.btnDelete.Text = "删除记录"; - this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click); - // - // lblState - // - this.lblState.Location = new System.Drawing.Point(184, 117); - this.lblState.Name = "lblState"; - this.lblState.Size = new System.Drawing.Size(54, 20); - this.lblState.TextAlign = System.Drawing.ContentAlignment.TopCenter; - // - // txtBarCode1 - // - this.txtBarCode1.Location = new System.Drawing.Point(76, 58); - this.txtBarCode1.MaxLength = 40; - this.txtBarCode1.Name = "txtBarCode1"; - this.txtBarCode1.Size = new System.Drawing.Size(159, 23); - this.txtBarCode1.TabIndex = 18; - this.txtBarCode1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtBarCode1_KeyDown); - // - // label2 - // - this.label2.Location = new System.Drawing.Point(3, 61); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(100, 20); - this.label2.Text = "右Kolli号:"; - // - // txtBarCode2 - // - this.txtBarCode2.Location = new System.Drawing.Point(76, 87); - this.txtBarCode2.MaxLength = 40; - this.txtBarCode2.Name = "txtBarCode2"; - this.txtBarCode2.Size = new System.Drawing.Size(159, 23); - this.txtBarCode2.TabIndex = 24; - this.txtBarCode2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtBarCode2_KeyDown); - // - // label4 - // - this.label4.Location = new System.Drawing.Point(14, 90); - this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(100, 20); - this.label4.Text = "零件号:"; - // - // txtQty - // - this.txtQty.Location = new System.Drawing.Point(76, 116); - this.txtQty.MaxLength = 40; - this.txtQty.Name = "txtQty"; - this.txtQty.ReadOnly = true; - this.txtQty.Size = new System.Drawing.Size(51, 23); - this.txtQty.TabIndex = 31; - this.txtQty.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtQty_KeyDown); - // - // label5 - // - this.label5.Location = new System.Drawing.Point(0, 117); - this.label5.Name = "label5"; - this.label5.Size = new System.Drawing.Size(100, 20); - this.label5.Text = "小箱数量:"; - // - // chkBox - // - this.chkBox.Checked = true; - this.chkBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.chkBox.Location = new System.Drawing.Point(129, 117); - this.chkBox.Name = "chkBox"; - this.chkBox.Size = new System.Drawing.Size(59, 20); - this.chkBox.TabIndex = 33; - this.chkBox.Text = "整箱"; - this.chkBox.CheckStateChanged += new System.EventHandler(this.chkBox_CheckStateChanged); - // - // frmVDA - // - this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; - this.AutoScroll = true; - this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); - this.ClientSize = new System.Drawing.Size(238, 275); - this.Controls.Add(this.chkBox); - this.Controls.Add(this.txtQty); - this.Controls.Add(this.label5); - this.Controls.Add(this.txtBarCode2); - this.Controls.Add(this.label4); - this.Controls.Add(this.txtBarCode1); - this.Controls.Add(this.label2); - this.Controls.Add(this.txtBarCode); - this.Controls.Add(this.label3); - this.Controls.Add(this.btnDelete); - this.Controls.Add(this.btnExit); - this.Controls.Add(this.btnSubmit); - this.Controls.Add(this.txtBillNo); - this.Controls.Add(this.label1); - this.Controls.Add(this.dgShow); - this.Controls.Add(this.lblState); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; - this.MaximizeBox = false; - this.MinimizeBox = false; - this.Name = "frmVDA"; - this.Text = "校验单"; - this.Load += new System.EventHandler(this.frmVerify_Load); - this.Closing += new System.ComponentModel.CancelEventHandler(this.frmVerify_Closing); - this.ResumeLayout(false); - - } - - #endregion - - private System.Windows.Forms.DataGrid dgShow; - private System.Windows.Forms.Label label1; - private System.Windows.Forms.TextBox txtBillNo; - private System.Windows.Forms.TextBox txtBarCode; - private System.Windows.Forms.Label label3; - private System.Windows.Forms.Button btnSubmit; - private System.Windows.Forms.Button btnExit; - private System.Windows.Forms.Button btnDelete; - private System.Windows.Forms.Label lblState; - private System.Windows.Forms.TextBox txtBarCode1; - private System.Windows.Forms.Label label2; - private System.Windows.Forms.TextBox txtBarCode2; - private System.Windows.Forms.Label label4; - private System.Windows.Forms.TextBox txtQty; - private System.Windows.Forms.Label label5; - private System.Windows.Forms.CheckBox chkBox; - } -} \ No newline at end of file diff --git a/PDAForm/PDAForm/Bill/VDA/副本 frmVDA.cs b/PDAForm/PDAForm/Bill/VDA/副本 frmVDA.cs deleted file mode 100644 index ff17f30..0000000 --- a/PDAForm/PDAForm/Bill/VDA/副本 frmVDA.cs +++ /dev/null @@ -1,505 +0,0 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Drawing; -using System.Text; -using System.Windows.Forms; -using PDAForm.Comm; -using PDAForm.SelectComm; - -namespace PDAForm.Bill.VDA -{ - public partial class frmVDA : Form - { - public F_VDA m_base = null; - public frmVDA() - { - InitializeComponent(); - } - - private void frmVerify_Load(object sender, EventArgs e) - { - this.Text += "(机器号:" + MyAppconfig.GetValue("机器号") + ")"; - - this.txtBillNo.Focus(); - } - - private void txtBillNo_KeyDown(object sender, KeyEventArgs e) - { - try - { - if (e.KeyCode == Keys.Enter) - { - if (this.txtBillNo.Text.Trim() == "") - { - throw new Exception("序列单号不能为空!"); - } - - this.txtBillNo.Enabled = false; - this.Update(); - m_base = new F_VDA(); - m_base.BillNo = this.txtBillNo.Text.Trim(); - m_base.BillNew(this.dgShow); - - Total(); - - this.txtBillNo.Enabled = true; - } - - } - catch (Exception ex) - { - m_base = null; - MyMessageBox.ShowErrorMessage(ex.Message); - this.txtBillNo.Enabled = true; - this.txtBillNo.Focus(); - this.txtBillNo.SelectAll(); - } - } - - private void txtBarCode_KeyDown(object sender, KeyEventArgs e) - { - try - { - if (e.KeyCode == Keys.Enter) - { - if (m_base == null) throw new Exception("请选扫ASN单号!"); - - string BarCode = this.txtBarCode.Text.Trim(); - if (BarCode.Length < 0) - { - MyMessageBox.ShowErrorMessage("左Kolli号不能为空!"); - this.txtBarCode.Focus(); - this.txtBarCode.SelectAll(); - return; - } - - if (BarCode.Substring(0, 2) != "01") - { - MyMessageBox.ShowErrorMessage("左Kolli号需以01开头!"); - this.txtBarCode.Focus(); - this.txtBarCode.SelectAll(); - return; - } - - this.txtBarCode.Text = BarCode.Substring(2, BarCode.Length - 2); - - - this.txtBarCode1.Focus(); - this.txtBarCode1.SelectAll(); - } - } - catch (Exception ex) - { - MyMessageBox.ShowErrorMessage(ex.Message); - this.txtBarCode.Focus(); - this.txtBarCode.SelectAll(); - } - } - - private void btnSubmit_Click(object sender, EventArgs e) - { - try - { - this.btnSubmit.Enabled = false; - this.Update(); - - if (m_base == null) throw new Exception("没有需要提交的数据!"); - if (MyMessageBox.ShowQuestion("是否要提交数据?")) - { - if (m_base.dsBill.Tables[0].Rows.Count == 0) - { - throw new Exception("没有需要提交的数据!"); - } - - if (m_base.dsBill.Tables[0].Select("[BarCode]=''").Length > 0) - { - throw new Exception("有未扫描的托盘"); - } - - if (m_base.dsBill.Tables[0].Select("[Qty] <> [Qtyed]").Length > 0) - { - throw new Exception("有未扫描的单箱"); - } - - - m_base.BillSubmit(); - m_base = null; - Total(); - - this.txtBillNo.Text = ""; - this.txtBarCode.Text = ""; - this.txtBarCode1.Text = ""; - this.txtBarCode2.Text = ""; - this.txtQty.Text = ""; - this.dgShow.DataSource = null; - MyMessageBox.ShowInfoMessage("数据提交成功!"); - this.txtBillNo.Focus(); - this.txtBillNo.SelectAll(); - - } - } - catch (Exception ex) - { - MyMessageBox.ShowErrorMessage(ex.Message); - } - finally - { - this.btnSubmit.Enabled = true; - } - } - - private void btnDelete_Click(object sender, EventArgs e) - { - try - { - if (m_base == null) throw new Exception("请选扫描ASN单号!"); - - if (MyMessageBox.ShowQuestion("是否要删除选择的记录!")) - { - m_base.dsBill.Tables[0].Rows[dgShow.CurrentRowIndex]["BarCode"] = ""; - m_base.dsBill.Tables[0].Rows[dgShow.CurrentRowIndex]["Qtyed"] = 0; - - Total(); - } - } - catch (Exception ex) - { - MyMessageBox.ShowErrorMessage(ex.Message); - } - } - - private void btnExit_Click(object sender, EventArgs e) - { - this.Close(); - } - - private void frmVerify_Closing(object sender, CancelEventArgs e) - { - if (m_base != null) - { - if (!MyMessageBox.ShowQuestion("未提交数据,是否要退出!")) e.Cancel = true; - } - } - - private void Total() - { - if (m_base == null) - { - this.lblState.Text = ""; - } - else - { - int a1 = m_base.dsBill.Tables[0].Rows.Count; - int a2 = m_base.dsBill.Tables[0].Select("[BarCode]<>''").Length; - - this.lblState.Text = a1 + "\\" + a2; - } - - } - - private void txtBarCode1_KeyDown(object sender, KeyEventArgs e) - { - if (e.KeyCode == Keys.Enter) - { - try - { - string BarCode = this.txtBarCode.Text.Trim(); - if (BarCode.Length < 0) - { - MyMessageBox.ShowErrorMessage("实物条码不能为空!"); - this.txtBarCode.Focus(); - this.txtBarCode.SelectAll(); - return; - } - - string BarCode1 = this.txtBarCode1.Text.Trim(); - if (BarCode1.Length < 0) - { - MyMessageBox.ShowErrorMessage("右Kolli号不能为空!"); - this.txtBarCode1.Focus(); - this.txtBarCode1.SelectAll(); - return; - } - - if (BarCode1.Substring(0, 2) != "02") - { - MyMessageBox.ShowErrorMessage("左Kolli号需以02开头!"); - this.txtBarCode1.Focus(); - this.txtBarCode1.SelectAll(); - return; - } - - this.txtBarCode1.Text = BarCode1.Substring(2, BarCode1.Length - 2); - - BarCode1 = this.txtBarCode1.Text.Trim().ToUpper(); - - - if (BarCode.ToUpper() != BarCode1.ToUpper()) - { - MyMessageBox.ShowErrorMessage("左右Kolli不一样!"); - this.txtBarCode1.Focus(); - this.txtBarCode1.SelectAll(); - return; - - } - - - - - this.txtBarCode2.Focus(); - this.txtBarCode2.SelectAll(); - - - } - catch (Exception ex) - { - MyMessageBox.ShowErrorMessage(ex.Message); - this.txtBarCode1.Focus(); - this.txtBarCode1.SelectAll(); - } - } - } - - private void txtBarCode2_KeyDown(object sender, KeyEventArgs e) - { - if (e.KeyCode == Keys.Enter) - { - try - { - - string BarCode = this.txtBarCode.Text.Trim(); - if (BarCode.Length < 0) - { - MyMessageBox.ShowErrorMessage("实物条码不能为空!"); - this.txtBarCode.Focus(); - this.txtBarCode.SelectAll(); - return; - } - - string BarCode1 = this.txtBarCode1.Text.Trim(); - if (BarCode1.Length < 0) - { - MyMessageBox.ShowErrorMessage("校验条码不能为空!"); - this.txtBarCode1.Focus(); - this.txtBarCode1.SelectAll(); - return; - } - - if (BarCode.ToUpper() != BarCode1.ToUpper()) - { - MyMessageBox.ShowErrorMessage("实物和校验条码不一样!"); - this.txtBarCode1.Focus(); - this.txtBarCode1.SelectAll(); - return; - - } - - - string BarCode2 = this.txtBarCode2.Text.Trim(); - if (BarCode2.Length < 0) - { - MyMessageBox.ShowErrorMessage("零件号不能为空"); - this.txtBarCode2.Focus(); - this.txtBarCode2.SelectAll(); - return; - } - - - DataRow[] drs = m_base.dsBill.Tables[0].Select("[PackageNo]='" + BarCode + "'"); - if (drs.Length == 0) - { - throw new Exception("Kolli " + BarCode + " 在系统中不存在"); - } - - - if (drs[0]["PartNumber"].ToString() != BarCode2) - { - throw new Exception("零件号 " + BarCode2 + " 不正确"); - } - - DataRow[] drs_product = F_Update.ProductData.Tables[0].Select("[Code]='" + BarCode2 + "'"); - if (drs_product.Length == 0) throw new Exception("零件号 " + BarCode2 + " 在系统中不存在"); - - this.txtQty.Text = drs_product[0]["PackQty"].ToString(); - - if (this.chkBox.Checked) - { - if (Convert.ToInt32(drs[0]["Qtyed"]) + Convert.ToInt32(this.txtQty.Text.Trim()) > Convert.ToInt32(drs[0]["Qty"])) - { - throw new Exception("数量超过装箱要求"); - } - else - { - - drs[0]["Qtyed"] = Convert.ToInt32(drs[0]["Qtyed"]) + Convert.ToInt32(this.txtQty.Text.Trim()); - drs[0]["BarCode"] = BarCode; - - Total(); - - if (Convert.ToInt32(drs[0]["Qtyed"]) < Convert.ToInt32(drs[0]["Qty"])) - { - this.txtBarCode2.Text = ""; - this.txtBarCode2.Focus(); - } - else - { - //扫描下一箱 - this.txtBarCode.Text = ""; - this.txtBarCode1.Text = ""; - this.txtBarCode2.Text = ""; - this.txtBarCode.Focus(); - } - } - } - else - { - this.txtQty.Focus(); - this.txtQty.SelectAll(); - } - - - - } - catch (Exception ex) - { - MyMessageBox.ShowErrorMessage(ex.Message); - this.txtBarCode2.Focus(); - this.txtBarCode2.SelectAll(); - } - } - } - - private void txtQty_KeyDown(object sender, KeyEventArgs e) - { - if (e.KeyCode == Keys.Enter) - { - if (!this.chkBox.Checked) - { - if (e.KeyCode == Keys.Enter) - { - try - { - - string BarCode = this.txtBarCode.Text.Trim(); - if (BarCode.Length < 0) - { - MyMessageBox.ShowErrorMessage("实物条码不能为空!"); - this.txtBarCode.Focus(); - this.txtBarCode.SelectAll(); - return; - } - - string BarCode1 = this.txtBarCode1.Text.Trim(); - if (BarCode1.Length < 0) - { - MyMessageBox.ShowErrorMessage("校验条码不能为空!"); - this.txtBarCode1.Focus(); - this.txtBarCode1.SelectAll(); - return; - } - - if (BarCode.ToUpper() != BarCode1.ToUpper()) - { - MyMessageBox.ShowErrorMessage("实物和校验条码不一样!"); - this.txtBarCode1.Focus(); - this.txtBarCode1.SelectAll(); - return; - - } - - - string BarCode2 = this.txtBarCode2.Text.Trim(); - if (BarCode2.Length < 0) - { - MyMessageBox.ShowErrorMessage("零件号不能为空"); - this.txtBarCode2.Focus(); - this.txtBarCode2.SelectAll(); - return; - } - - - DataRow[] drs = m_base.dsBill.Tables[0].Select("[PackageNo]='" + BarCode + "'"); - if (drs.Length == 0) - { - throw new Exception("Kolli " + BarCode + " 在系统中不存在"); - } - - - if (drs[0]["PartNumber"].ToString() != BarCode2) - { - throw new Exception("零件号 " + BarCode2 + " 不正确"); - } - - DataRow[] drs_product = F_Update.ProductData.Tables[0].Select("[Code]='" + BarCode2 + "'"); - if (drs_product.Length == 0) throw new Exception("零件号 " + BarCode2 + " 在系统中不存在"); - - if(Convert.ToInt32(this.txtQty.Text) > Convert.ToInt32(drs_product[0]["PackQty"])) - { - throw new Exception("数量不能大于标准装箱数"); - } - - - if (Convert.ToInt32(drs[0]["Qtyed"]) + Convert.ToInt32(this.txtQty.Text.Trim()) > Convert.ToInt32(drs[0]["Qty"])) - { - throw new Exception("数量超过装箱要求"); - } - else - { - - drs[0]["Qtyed"] = Convert.ToInt32(drs[0]["Qtyed"]) + Convert.ToInt32(this.txtQty.Text.Trim()); - drs[0]["BarCode"] = BarCode; - - Total(); - - if (Convert.ToInt32(drs[0]["Qtyed"]) < Convert.ToInt32(drs[0]["Qty"])) - { - this.txtQty.Text = ""; - this.txtBarCode2.Text = ""; - this.txtBarCode2.Focus(); - } - else - { - //扫描下一箱 - this.txtBarCode.Text = ""; - this.txtBarCode1.Text = ""; - this.txtBarCode2.Text = ""; - this.txtBarCode.Focus(); - } - } - - - - } - catch (Exception ex) - { - MyMessageBox.ShowErrorMessage(ex.Message); - this.txtBarCode2.Focus(); - this.txtBarCode2.SelectAll(); - } - } - } - - } - } - - private void chkBox_CheckStateChanged(object sender, EventArgs e) - { - if (this.chkBox.Checked) - { - this.txtQty.ReadOnly = true; - } - else - { - this.txtQty.ReadOnly = false; - } - } - - - - - - - } -} \ No newline at end of file diff --git a/PDAForm/PDAForm/PDAForm.csproj b/PDAForm/PDAForm/PDAForm.csproj index 73953a0..35033e5 100644 --- a/PDAForm/PDAForm/PDAForm.csproj +++ b/PDAForm/PDAForm/PDAForm.csproj @@ -2,7 +2,7 @@ Debug AnyCPU - 8.0.50727 + 9.0.30729 2.0 {6B9249A0-CACF-4DBB-8281-EF43C9078100} WinExe @@ -374,12 +374,24 @@ + + Form + + + frmBarCodeSelect.cs + Form frmVDA.cs + + Form + + + frmVDACheck.cs + Form @@ -683,10 +695,16 @@ frmStockQuery.cs Designer + + frmBarCodeSelect.cs + frmVDA.cs Designer + + frmVDACheck.cs + Designer frmVerify.cs diff --git a/PDAForm/PDAForm/PDAForm.xml b/PDAForm/PDAForm/PDAForm.xml index 63b411b..3c3e84d 100644 --- a/PDAForm/PDAForm/PDAForm.xml +++ b/PDAForm/PDAForm/PDAForm.xml @@ -6,7 +6,7 @@ WebService - http://localhost:24689/Service.asmx + http://127.0.0.1:8084/Service.asmx 当前用户 diff --git a/PDAForm/PDAForm/frmMain.Designer.cs b/PDAForm/PDAForm/frmMain.Designer.cs index bad9f98..938848a 100644 --- a/PDAForm/PDAForm/frmMain.Designer.cs +++ b/PDAForm/PDAForm/frmMain.Designer.cs @@ -52,6 +52,7 @@ this.btnOnLine = new System.Windows.Forms.Button(); this.btnSort = new System.Windows.Forms.Button(); this.tabPage4 = new System.Windows.Forms.TabPage(); + this.btnNBCCH = new System.Windows.Forms.Button(); this.btnVDA = new System.Windows.Forms.Button(); this.btnShipBill = new System.Windows.Forms.Button(); this.btnVerify = new System.Windows.Forms.Button(); @@ -61,6 +62,7 @@ this.btnQuality = new System.Windows.Forms.Button(); this.btnBarCodeCheck = new System.Windows.Forms.Button(); this.tabPage2 = new System.Windows.Forms.TabPage(); + this.button2 = new System.Windows.Forms.Button(); this.panel1.SuspendLayout(); this.tabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); @@ -296,6 +298,8 @@ // // tabPage4 // + this.tabPage4.Controls.Add(this.button2); + this.tabPage4.Controls.Add(this.btnNBCCH); this.tabPage4.Controls.Add(this.btnVDA); this.tabPage4.Controls.Add(this.btnShipBill); this.tabPage4.Controls.Add(this.btnVerify); @@ -309,20 +313,30 @@ this.tabPage4.Size = new System.Drawing.Size(230, 187); this.tabPage4.Text = "功能三"; // + // btnNBCCH + // + this.btnNBCCH.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Regular); + this.btnNBCCH.Location = new System.Drawing.Point(16, 104); + this.btnNBCCH.Name = "btnNBCCH"; + this.btnNBCCH.Size = new System.Drawing.Size(100, 50); + this.btnNBCCH.TabIndex = 43; + this.btnNBCCH.Text = "内部参考号查询"; + this.btnNBCCH.Click += new System.EventHandler(this.btnNBCCH_Click); + // // btnVDA // - this.btnVDA.Location = new System.Drawing.Point(29, 24); + this.btnVDA.Location = new System.Drawing.Point(16, 24); this.btnVDA.Name = "btnVDA"; - this.btnVDA.Size = new System.Drawing.Size(173, 65); + this.btnVDA.Size = new System.Drawing.Size(100, 50); this.btnVDA.TabIndex = 43; this.btnVDA.Text = "装箱校验"; this.btnVDA.Click += new System.EventHandler(this.btnVDA_Click); // // btnShipBill // - this.btnShipBill.Location = new System.Drawing.Point(29, 95); + this.btnShipBill.Location = new System.Drawing.Point(127, 24); this.btnShipBill.Name = "btnShipBill"; - this.btnShipBill.Size = new System.Drawing.Size(173, 68); + this.btnShipBill.Size = new System.Drawing.Size(100, 50); this.btnShipBill.TabIndex = 42; this.btnShipBill.Text = "发货校验"; this.btnShipBill.Click += new System.EventHandler(this.btnShipBill_Click); @@ -397,6 +411,16 @@ this.tabPage2.Size = new System.Drawing.Size(230, 187); this.tabPage2.Text = "设置"; // + // button2 + // + this.button2.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Regular); + this.button2.Location = new System.Drawing.Point(128, 104); + this.button2.Name = "button2"; + this.button2.Size = new System.Drawing.Size(100, 50); + this.button2.TabIndex = 43; + this.button2.Text = "VDA标签照核"; + this.button2.Click += new System.EventHandler(this.button2_Click); + // // frmMain // this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); @@ -457,6 +481,8 @@ private System.Windows.Forms.Button btnVerify; private System.Windows.Forms.Button btnShipBill; private System.Windows.Forms.Button btnVDA; + private System.Windows.Forms.Button btnNBCCH; + private System.Windows.Forms.Button button2; } } diff --git a/PDAForm/PDAForm/frmMain.cs b/PDAForm/PDAForm/frmMain.cs index d2b0dda..979ba5f 100644 --- a/PDAForm/PDAForm/frmMain.cs +++ b/PDAForm/PDAForm/frmMain.cs @@ -591,7 +591,35 @@ namespace PDAForm { try { - Bill.VDA.frmVDA frm = new Bill.VDA.frmVDA(); + Bill.VDA.frmBarCodeSelect frm = new Bill.VDA.frmBarCodeSelect(); + frm.ShowDialog(); + frm.Dispose(); + } + catch (Exception ex) + { + MyMessageBox.ShowErrorMessage(ex.Message); + } + } + + private void btnNBCCH_Click(object sender, EventArgs e) + { + try + { + Bill.VDA.frmBarCodeSelect frm = new Bill.VDA.frmBarCodeSelect(); + frm.ShowDialog(); + frm.Dispose(); + } + catch (Exception ex) + { + MyMessageBox.ShowErrorMessage(ex.Message); + } + } + + private void button2_Click(object sender, EventArgs e) + { + try + { + Bill.VDA.frmVDACheck frm = new Bill.VDA.frmVDACheck(); frm.ShowDialog(); frm.Dispose(); } diff --git a/PDAForm/PDAForm/frmMain.resx b/PDAForm/PDAForm/frmMain.resx index ea4f9aa..a721046 100644 --- a/PDAForm/PDAForm/frmMain.resx +++ b/PDAForm/PDAForm/frmMain.resx @@ -1,6 +1,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + WEBPAD - - False - - text/microsoft-resx2.0System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + False + + \ No newline at end of file