| @ -0,0 +1,16 @@ | |||
| using Forks.EnterpriseServices.DomainObjects2; | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| namespace ButcherFactory.BO | |||
| { | |||
| [MapToTable("Butcher_CarcassSaleOut_Delete")] | |||
| public class CarcassSaleOut_Delete : CarcassSaleOut_Detail | |||
| { | |||
| public DateTime DeleteTime { get; set; } | |||
| public string Deleter { get; set; } | |||
| } | |||
| } | |||
| @ -0,0 +1,267 @@ | |||
| namespace ButcherFactory.Dialogs | |||
| { | |||
| partial class WeightDeleteRecord | |||
| { | |||
| /// <summary> | |||
| /// Required designer variable. | |||
| /// </summary> | |||
| private System.ComponentModel.IContainer components = null; | |||
| /// <summary> | |||
| /// Clean up any resources being used. | |||
| /// </summary> | |||
| /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> | |||
| protected override void Dispose(bool disposing) | |||
| { | |||
| if (disposing && (components != null)) | |||
| { | |||
| components.Dispose(); | |||
| } | |||
| base.Dispose(disposing); | |||
| } | |||
| #region Windows Form Designer generated code | |||
| /// <summary> | |||
| /// Required method for Designer support - do not modify | |||
| /// the contents of this method with the code editor. | |||
| /// </summary> | |||
| private void InitializeComponent() | |||
| { | |||
| System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle(); | |||
| System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle(); | |||
| System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle28 = new System.Windows.Forms.DataGridViewCellStyle(); | |||
| System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle(); | |||
| System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle25 = new System.Windows.Forms.DataGridViewCellStyle(); | |||
| System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle26 = new System.Windows.Forms.DataGridViewCellStyle(); | |||
| System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle27 = new System.Windows.Forms.DataGridViewCellStyle(); | |||
| this.uDataGridView1 = new WinFormControl.UDataGridView(); | |||
| this.closeBtn = new ButcherFactory.Controls.ColorButton(); | |||
| this.R_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); | |||
| this.R_Idx = new System.Windows.Forms.DataGridViewTextBoxColumn(); | |||
| this.R_BarCode = new System.Windows.Forms.DataGridViewTextBoxColumn(); | |||
| this.R_Goods_Code = new System.Windows.Forms.DataGridViewTextBoxColumn(); | |||
| this.R_Goods_Name = new System.Windows.Forms.DataGridViewTextBoxColumn(); | |||
| this.R_Number = new System.Windows.Forms.DataGridViewTextBoxColumn(); | |||
| this.R_InStoreWeight = new System.Windows.Forms.DataGridViewTextBoxColumn(); | |||
| this.R_Weight = new System.Windows.Forms.DataGridViewTextBoxColumn(); | |||
| this.R_DiffWeight = new System.Windows.Forms.DataGridViewTextBoxColumn(); | |||
| this.R_Operator = new System.Windows.Forms.DataGridViewTextBoxColumn(); | |||
| this.R_Time = new System.Windows.Forms.DataGridViewTextBoxColumn(); | |||
| this.R_DeleteTime = new System.Windows.Forms.DataGridViewTextBoxColumn(); | |||
| this.R_Deleter = new System.Windows.Forms.DataGridViewTextBoxColumn(); | |||
| ((System.ComponentModel.ISupportInitialize)(this.uDataGridView1)).BeginInit(); | |||
| this.SuspendLayout(); | |||
| // | |||
| // uDataGridView1 | |||
| // | |||
| this.uDataGridView1.AllowUserToAddRows = false; | |||
| this.uDataGridView1.AllowUserToDeleteRows = false; | |||
| this.uDataGridView1.AllowUserToResizeColumns = false; | |||
| this.uDataGridView1.AllowUserToResizeRows = false; | |||
| dataGridViewCellStyle22.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); | |||
| this.uDataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle22; | |||
| this.uDataGridView1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | |||
| | System.Windows.Forms.AnchorStyles.Left) | |||
| | System.Windows.Forms.AnchorStyles.Right))); | |||
| this.uDataGridView1.BackgroundColor = System.Drawing.Color.White; | |||
| this.uDataGridView1.BorderStyle = System.Windows.Forms.BorderStyle.None; | |||
| dataGridViewCellStyle23.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; | |||
| dataGridViewCellStyle23.Font = new System.Drawing.Font("宋体", 12F); | |||
| dataGridViewCellStyle23.ForeColor = System.Drawing.Color.White; | |||
| dataGridViewCellStyle23.WrapMode = System.Windows.Forms.DataGridViewTriState.True; | |||
| this.uDataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle23; | |||
| this.uDataGridView1.ColumnHeadersHeight = 40; | |||
| this.uDataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; | |||
| this.uDataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { | |||
| this.R_ID, | |||
| this.R_Idx, | |||
| this.R_BarCode, | |||
| this.R_Goods_Code, | |||
| this.R_Goods_Name, | |||
| this.R_Number, | |||
| this.R_InStoreWeight, | |||
| this.R_Weight, | |||
| this.R_DiffWeight, | |||
| this.R_Operator, | |||
| this.R_Time, | |||
| this.R_DeleteTime, | |||
| this.R_Deleter}); | |||
| this.uDataGridView1.Location = new System.Drawing.Point(12, 22); | |||
| this.uDataGridView1.MultiSelect = false; | |||
| this.uDataGridView1.Name = "uDataGridView1"; | |||
| this.uDataGridView1.ReadOnly = true; | |||
| this.uDataGridView1.RowHeadersVisible = false; | |||
| dataGridViewCellStyle28.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); | |||
| dataGridViewCellStyle28.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); | |||
| this.uDataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle28; | |||
| this.uDataGridView1.RowTemplate.Height = 40; | |||
| this.uDataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; | |||
| this.uDataGridView1.Size = new System.Drawing.Size(1151, 434); | |||
| this.uDataGridView1.TabIndex = 1; | |||
| // | |||
| // closeBtn | |||
| // | |||
| this.closeBtn.Anchor = System.Windows.Forms.AnchorStyles.Bottom; | |||
| this.closeBtn.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(77)))), ((int)(((byte)(135)))), ((int)(((byte)(245))))); | |||
| this.closeBtn.Font = new System.Drawing.Font("黑体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); | |||
| this.closeBtn.ForeColor = System.Drawing.Color.White; | |||
| this.closeBtn.Location = new System.Drawing.Point(529, 473); | |||
| this.closeBtn.Name = "closeBtn"; | |||
| this.closeBtn.SelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(215)))), ((int)(((byte)(107))))); | |||
| this.closeBtn.Size = new System.Drawing.Size(117, 43); | |||
| this.closeBtn.TabIndex = 4; | |||
| this.closeBtn.Text = "关闭"; | |||
| this.closeBtn.UseVisualStyleBackColor = false; | |||
| this.closeBtn.Click += new System.EventHandler(this.closeBtn_Click); | |||
| // | |||
| // R_ID | |||
| // | |||
| this.R_ID.DataPropertyName = "ID"; | |||
| this.R_ID.HeaderText = "ID"; | |||
| this.R_ID.Name = "R_ID"; | |||
| this.R_ID.ReadOnly = true; | |||
| this.R_ID.Visible = false; | |||
| // | |||
| // R_Idx | |||
| // | |||
| this.R_Idx.DataPropertyName = "Idx"; | |||
| this.R_Idx.HeaderText = "序号"; | |||
| this.R_Idx.Name = "R_Idx"; | |||
| this.R_Idx.ReadOnly = true; | |||
| this.R_Idx.Width = 70; | |||
| // | |||
| // R_BarCode | |||
| // | |||
| this.R_BarCode.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; | |||
| this.R_BarCode.DataPropertyName = "ShortCode"; | |||
| this.R_BarCode.HeaderText = "存货条码"; | |||
| this.R_BarCode.MinimumWidth = 100; | |||
| this.R_BarCode.Name = "R_BarCode"; | |||
| this.R_BarCode.ReadOnly = true; | |||
| // | |||
| // R_Goods_Code | |||
| // | |||
| this.R_Goods_Code.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; | |||
| this.R_Goods_Code.DataPropertyName = "Goods_Code"; | |||
| this.R_Goods_Code.HeaderText = "产品编码"; | |||
| this.R_Goods_Code.MinimumWidth = 100; | |||
| this.R_Goods_Code.Name = "R_Goods_Code"; | |||
| this.R_Goods_Code.ReadOnly = true; | |||
| // | |||
| // R_Goods_Name | |||
| // | |||
| this.R_Goods_Name.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; | |||
| this.R_Goods_Name.DataPropertyName = "Goods_Name"; | |||
| this.R_Goods_Name.HeaderText = "产品名称"; | |||
| this.R_Goods_Name.MinimumWidth = 100; | |||
| this.R_Goods_Name.Name = "R_Goods_Name"; | |||
| this.R_Goods_Name.ReadOnly = true; | |||
| // | |||
| // R_Number | |||
| // | |||
| this.R_Number.DataPropertyName = "Number"; | |||
| dataGridViewCellStyle24.Format = "#0.######"; | |||
| this.R_Number.DefaultCellStyle = dataGridViewCellStyle24; | |||
| this.R_Number.HeaderText = "数量"; | |||
| this.R_Number.Name = "R_Number"; | |||
| this.R_Number.ReadOnly = true; | |||
| this.R_Number.Width = 70; | |||
| // | |||
| // R_InStoreWeight | |||
| // | |||
| this.R_InStoreWeight.DataPropertyName = "InStoreWeight"; | |||
| dataGridViewCellStyle25.Format = "#0.######"; | |||
| this.R_InStoreWeight.DefaultCellStyle = dataGridViewCellStyle25; | |||
| this.R_InStoreWeight.HeaderText = "入库重量"; | |||
| this.R_InStoreWeight.Name = "R_InStoreWeight"; | |||
| this.R_InStoreWeight.ReadOnly = true; | |||
| // | |||
| // R_Weight | |||
| // | |||
| this.R_Weight.DataPropertyName = "Weight"; | |||
| dataGridViewCellStyle26.Format = "#0.######"; | |||
| this.R_Weight.DefaultCellStyle = dataGridViewCellStyle26; | |||
| this.R_Weight.HeaderText = "重量"; | |||
| this.R_Weight.Name = "R_Weight"; | |||
| this.R_Weight.ReadOnly = true; | |||
| // | |||
| // R_DiffWeight | |||
| // | |||
| this.R_DiffWeight.DataPropertyName = "DiffWeight"; | |||
| dataGridViewCellStyle27.Format = "#0.######"; | |||
| this.R_DiffWeight.DefaultCellStyle = dataGridViewCellStyle27; | |||
| this.R_DiffWeight.HeaderText = "差异"; | |||
| this.R_DiffWeight.Name = "R_DiffWeight"; | |||
| this.R_DiffWeight.ReadOnly = true; | |||
| // | |||
| // R_Operator | |||
| // | |||
| this.R_Operator.DataPropertyName = "Operator"; | |||
| this.R_Operator.HeaderText = "操作员"; | |||
| this.R_Operator.Name = "R_Operator"; | |||
| this.R_Operator.ReadOnly = true; | |||
| // | |||
| // R_Time | |||
| // | |||
| this.R_Time.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; | |||
| this.R_Time.DataPropertyName = "Time"; | |||
| this.R_Time.HeaderText = "时间"; | |||
| this.R_Time.MinimumWidth = 100; | |||
| this.R_Time.Name = "R_Time"; | |||
| this.R_Time.ReadOnly = true; | |||
| // | |||
| // R_DeleteTime | |||
| // | |||
| this.R_DeleteTime.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; | |||
| this.R_DeleteTime.DataPropertyName = "DeleteTime"; | |||
| this.R_DeleteTime.HeaderText = "删除时间"; | |||
| this.R_DeleteTime.MinimumWidth = 100; | |||
| this.R_DeleteTime.Name = "R_DeleteTime"; | |||
| this.R_DeleteTime.ReadOnly = true; | |||
| // | |||
| // R_Deleter | |||
| // | |||
| this.R_Deleter.DataPropertyName = "Deleter"; | |||
| this.R_Deleter.HeaderText = "删除人"; | |||
| this.R_Deleter.Name = "R_Deleter"; | |||
| this.R_Deleter.ReadOnly = true; | |||
| // | |||
| // WeightDeleteRecord | |||
| // | |||
| this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); | |||
| this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | |||
| this.BackColor = System.Drawing.Color.White; | |||
| this.ClientSize = new System.Drawing.Size(1175, 528); | |||
| this.Controls.Add(this.closeBtn); | |||
| this.Controls.Add(this.uDataGridView1); | |||
| this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; | |||
| this.MinimizeBox = false; | |||
| this.Name = "WeightDeleteRecord"; | |||
| this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; | |||
| this.Text = "删除记录"; | |||
| this.WindowState = System.Windows.Forms.FormWindowState.Maximized; | |||
| ((System.ComponentModel.ISupportInitialize)(this.uDataGridView1)).EndInit(); | |||
| this.ResumeLayout(false); | |||
| } | |||
| #endregion | |||
| private WinFormControl.UDataGridView uDataGridView1; | |||
| private Controls.ColorButton closeBtn; | |||
| private System.Windows.Forms.DataGridViewTextBoxColumn R_ID; | |||
| private System.Windows.Forms.DataGridViewTextBoxColumn R_Idx; | |||
| private System.Windows.Forms.DataGridViewTextBoxColumn R_BarCode; | |||
| private System.Windows.Forms.DataGridViewTextBoxColumn R_Goods_Code; | |||
| private System.Windows.Forms.DataGridViewTextBoxColumn R_Goods_Name; | |||
| private System.Windows.Forms.DataGridViewTextBoxColumn R_Number; | |||
| private System.Windows.Forms.DataGridViewTextBoxColumn R_InStoreWeight; | |||
| private System.Windows.Forms.DataGridViewTextBoxColumn R_Weight; | |||
| private System.Windows.Forms.DataGridViewTextBoxColumn R_DiffWeight; | |||
| private System.Windows.Forms.DataGridViewTextBoxColumn R_Operator; | |||
| private System.Windows.Forms.DataGridViewTextBoxColumn R_Time; | |||
| private System.Windows.Forms.DataGridViewTextBoxColumn R_DeleteTime; | |||
| private System.Windows.Forms.DataGridViewTextBoxColumn R_Deleter; | |||
| } | |||
| } | |||
| @ -0,0 +1,37 @@ | |||
| using ButcherFactory.BO; | |||
| using ButcherFactory.BO.LocalBL; | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.ComponentModel; | |||
| using System.Data; | |||
| using System.Drawing; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| using System.Windows.Forms; | |||
| namespace ButcherFactory.Dialogs | |||
| { | |||
| public partial class WeightDeleteRecord : Form | |||
| { | |||
| BindingList<CarcassSaleOut_Delete> list; | |||
| public WeightDeleteRecord(long detailID) | |||
| { | |||
| InitializeComponent(); | |||
| uDataGridView1.BorderStyle = BorderStyle.FixedSingle; | |||
| BindGrid(detailID); | |||
| } | |||
| void BindGrid(long detailID) | |||
| { | |||
| list = CarcassSaleOutBL.GetDeletedWeightRecord(detailID); | |||
| uDataGridView1.DataSource = list; | |||
| uDataGridView1.Refresh(); | |||
| } | |||
| private void closeBtn_Click(object sender, EventArgs e) | |||
| { | |||
| this.Close(); | |||
| } | |||
| } | |||
| } | |||
| @ -0,0 +1,159 @@ | |||
| <?xml version="1.0" encoding="utf-8"?> | |||
| <root> | |||
| <!-- | |||
| Microsoft ResX Schema | |||
| Version 2.0 | |||
| The primary goals of this format is to allow a simple XML format | |||
| that is mostly human readable. The generation and parsing of the | |||
| various data types are done through the TypeConverter classes | |||
| associated with the data types. | |||
| Example: | |||
| ... ado.net/XML headers & schema ... | |||
| <resheader name="resmimetype">text/microsoft-resx</resheader> | |||
| <resheader name="version">2.0</resheader> | |||
| <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | |||
| <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | |||
| <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | |||
| <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | |||
| <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | |||
| <value>[base64 mime encoded serialized .NET Framework object]</value> | |||
| </data> | |||
| <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | |||
| <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | |||
| <comment>This is a comment</comment> | |||
| </data> | |||
| There are any number of "resheader" rows that contain simple | |||
| name/value pairs. | |||
| Each data row contains a name, and value. The row also contains a | |||
| type or mimetype. Type corresponds to a .NET class that support | |||
| text/value conversion through the TypeConverter architecture. | |||
| Classes that don't support this are serialized and stored with the | |||
| mimetype set. | |||
| The mimetype is used for serialized objects, and tells the | |||
| ResXResourceReader how to depersist the object. This is currently not | |||
| extensible. For a given mimetype the value must be set accordingly: | |||
| Note - application/x-microsoft.net.object.binary.base64 is the format | |||
| that the ResXResourceWriter will generate, however the reader can | |||
| read any of the formats listed below. | |||
| mimetype: application/x-microsoft.net.object.binary.base64 | |||
| value : The object must be serialized with | |||
| : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | |||
| : and then encoded with base64 encoding. | |||
| mimetype: application/x-microsoft.net.object.soap.base64 | |||
| value : The object must be serialized with | |||
| : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | |||
| : and then encoded with base64 encoding. | |||
| mimetype: application/x-microsoft.net.object.bytearray.base64 | |||
| value : The object must be serialized into a byte array | |||
| : using a System.ComponentModel.TypeConverter | |||
| : and then encoded with base64 encoding. | |||
| --> | |||
| <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | |||
| <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | |||
| <xsd:element name="root" msdata:IsDataSet="true"> | |||
| <xsd:complexType> | |||
| <xsd:choice maxOccurs="unbounded"> | |||
| <xsd:element name="metadata"> | |||
| <xsd:complexType> | |||
| <xsd:sequence> | |||
| <xsd:element name="value" type="xsd:string" minOccurs="0" /> | |||
| </xsd:sequence> | |||
| <xsd:attribute name="name" use="required" type="xsd:string" /> | |||
| <xsd:attribute name="type" type="xsd:string" /> | |||
| <xsd:attribute name="mimetype" type="xsd:string" /> | |||
| <xsd:attribute ref="xml:space" /> | |||
| </xsd:complexType> | |||
| </xsd:element> | |||
| <xsd:element name="assembly"> | |||
| <xsd:complexType> | |||
| <xsd:attribute name="alias" type="xsd:string" /> | |||
| <xsd:attribute name="name" type="xsd:string" /> | |||
| </xsd:complexType> | |||
| </xsd:element> | |||
| <xsd:element name="data"> | |||
| <xsd:complexType> | |||
| <xsd:sequence> | |||
| <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | |||
| <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | |||
| </xsd:sequence> | |||
| <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | |||
| <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | |||
| <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | |||
| <xsd:attribute ref="xml:space" /> | |||
| </xsd:complexType> | |||
| </xsd:element> | |||
| <xsd:element name="resheader"> | |||
| <xsd:complexType> | |||
| <xsd:sequence> | |||
| <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | |||
| </xsd:sequence> | |||
| <xsd:attribute name="name" type="xsd:string" use="required" /> | |||
| </xsd:complexType> | |||
| </xsd:element> | |||
| </xsd:choice> | |||
| </xsd:complexType> | |||
| </xsd:element> | |||
| </xsd:schema> | |||
| <resheader name="resmimetype"> | |||
| <value>text/microsoft-resx</value> | |||
| </resheader> | |||
| <resheader name="version"> | |||
| <value>2.0</value> | |||
| </resheader> | |||
| <resheader name="reader"> | |||
| <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | |||
| </resheader> | |||
| <resheader name="writer"> | |||
| <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | |||
| </resheader> | |||
| <metadata name="R_ID.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |||
| <value>True</value> | |||
| </metadata> | |||
| <metadata name="R_Idx.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |||
| <value>True</value> | |||
| </metadata> | |||
| <metadata name="R_BarCode.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |||
| <value>True</value> | |||
| </metadata> | |||
| <metadata name="R_Goods_Code.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |||
| <value>True</value> | |||
| </metadata> | |||
| <metadata name="R_Goods_Name.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |||
| <value>True</value> | |||
| </metadata> | |||
| <metadata name="R_Number.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |||
| <value>True</value> | |||
| </metadata> | |||
| <metadata name="R_InStoreWeight.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |||
| <value>True</value> | |||
| </metadata> | |||
| <metadata name="R_Weight.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |||
| <value>True</value> | |||
| </metadata> | |||
| <metadata name="R_DiffWeight.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |||
| <value>True</value> | |||
| </metadata> | |||
| <metadata name="R_Operator.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |||
| <value>True</value> | |||
| </metadata> | |||
| <metadata name="R_Time.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |||
| <value>True</value> | |||
| </metadata> | |||
| <metadata name="R_DeleteTime.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |||
| <value>True</value> | |||
| </metadata> | |||
| <metadata name="R_Deleter.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |||
| <value>True</value> | |||
| </metadata> | |||
| </root> | |||
| @ -1,16 +1,18 @@ | |||
| <Window x:Class="ButcherFactory.Tools.MainWindow" | |||
| xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |||
| xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |||
| Title="BWP_Tools" Height="380" Width="525" ResizeMode="NoResize" > | |||
| Title="BWP_Tools" Height="450" Width="525" ResizeMode="NoResize" > | |||
| <Grid Margin="0,0,2,0"> | |||
| <Label Content="服务器:" HorizontalAlignment="Left" VerticalContentAlignment="Center" FontSize="18px" Margin="84,30,0,0" VerticalAlignment="Top" Height="47"/> | |||
| <TextBox Name="serverUrlBox" HorizontalAlignment="Left" Height="80" Margin="179,34,0,0" TextWrapping="Wrap" FontSize="15px" Text="" VerticalAlignment="Top" Width="229" PreviewMouseLeftButtonDown="ServerUrlTextBoxClick"/> | |||
| <Label Content="服务模式:" HorizontalAlignment="Left" VerticalContentAlignment="Center" FontSize="18px" Margin="69,123,0,0" VerticalAlignment="Top" Height="47"/> | |||
| <ComboBox Name="modeComboBox" HorizontalAlignment="Left" Margin="179,127,0,0" FontSize="18px" VerticalContentAlignment="Center" VerticalAlignment="Top" Width="229" Height="37"/> | |||
| <Label Content="数据库:" HorizontalAlignment="Left" VerticalContentAlignment="Center" FontSize="18px" Margin="84,173,0,0" VerticalAlignment="Top" Height="47"/> | |||
| <ComboBox Name="dbComboBox" HorizontalAlignment="Left" Margin="179,179,0,0" FontSize="18px" VerticalContentAlignment="Center" VerticalAlignment="Top" Width="229" Height="37"/> | |||
| <Button Content="保存" FontSize="18px" Margin="72,254,0,0" Height="50" Width="94" HorizontalAlignment="Left" VerticalAlignment="Top" Click="SaveBtnClick"/> | |||
| <Button Content="升级" FontSize="18px" Margin="197,254,0,0" Height="50" Width="94" HorizontalAlignment="Left" VerticalAlignment="Top" Click="Button_Click"/> | |||
| <Button Content="关闭" FontSize="18px" Margin="320,254,0,0" Height="50" Width="94" HorizontalAlignment="Left" VerticalAlignment="Top" Click="CloseBtnClick"/> | |||
| <Label Content="MES地址" HorizontalAlignment="Left" VerticalContentAlignment="Center" FontSize="18px" Margin="84,30,0,0" VerticalAlignment="Top" Height="47"/> | |||
| <TextBox Name="mesUrlBox" HorizontalAlignment="Left" Height="65" Margin="179,34,0,0" TextWrapping="Wrap" FontSize="15px" Text="" VerticalAlignment="Top" Width="229" PreviewMouseLeftButtonDown="UrlTextBoxClick"/> | |||
| <Label Content="B3地址" HorizontalAlignment="Left" VerticalContentAlignment="Center" FontSize="18px" Margin="84,118,0,0" VerticalAlignment="Top" Height="47"/> | |||
| <TextBox Name="b3UrlBox" HorizontalAlignment="Left" Height="65" Margin="179,122,0,0" TextWrapping="Wrap" FontSize="15px" Text="" VerticalAlignment="Top" Width="229" PreviewMouseLeftButtonDown="UrlTextBoxClick"/> | |||
| <Label Content="服务模式" HorizontalAlignment="Left" VerticalContentAlignment="Center" FontSize="18px" Margin="69,206,0,0" VerticalAlignment="Top" Height="47"/> | |||
| <ComboBox Name="modeComboBox" HorizontalAlignment="Left" Margin="179,210,0,0" FontSize="18px" VerticalContentAlignment="Center" VerticalAlignment="Top" Width="229" Height="37"/> | |||
| <Label Content="数据库" HorizontalAlignment="Left" VerticalContentAlignment="Center" FontSize="18px" Margin="84,256,0,0" VerticalAlignment="Top" Height="47"/> | |||
| <ComboBox Name="dbComboBox" HorizontalAlignment="Left" Margin="179,262,0,0" FontSize="18px" VerticalContentAlignment="Center" VerticalAlignment="Top" Width="229" Height="37"/> | |||
| <Button Content="保存" FontSize="18px" Margin="72,337,0,0" Height="50" Width="94" HorizontalAlignment="Left" VerticalAlignment="Top" Click="SaveBtnClick"/> | |||
| <Button Content="升级" FontSize="18px" Margin="197,337,0,0" Height="50" Width="94" HorizontalAlignment="Left" VerticalAlignment="Top" Click="Button_Click"/> | |||
| <Button Content="关闭" FontSize="18px" Margin="320,337,0,0" Height="50" Width="94" HorizontalAlignment="Left" VerticalAlignment="Top" Click="CloseBtnClick"/> | |||
| </Grid> | |||
| </Window> | |||
| @ -0,0 +1,174 @@ | |||
| namespace SelfHelpClient | |||
| { | |||
| partial class ItemSelect2 | |||
| { | |||
| /// <summary> | |||
| /// Required designer variable. | |||
| /// </summary> | |||
| private System.ComponentModel.IContainer components = null; | |||
| /// <summary> | |||
| /// Clean up any resources being used. | |||
| /// </summary> | |||
| /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> | |||
| protected override void Dispose(bool disposing) | |||
| { | |||
| if (disposing && (components != null)) | |||
| { | |||
| components.Dispose(); | |||
| } | |||
| base.Dispose(disposing); | |||
| } | |||
| #region Windows Form Designer generated code | |||
| /// <summary> | |||
| /// Required method for Designer support - do not modify | |||
| /// the contents of this method with the code editor. | |||
| /// </summary> | |||
| private void InitializeComponent() | |||
| { | |||
| System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); | |||
| System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); | |||
| System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); | |||
| System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); | |||
| System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ItemSelect2)); | |||
| this.uDataGridView1 = new WinFormControl.UDataGridView(); | |||
| this.R_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); | |||
| this.R_CarNumber = new System.Windows.Forms.DataGridViewTextBoxColumn(); | |||
| this.R_Number = new System.Windows.Forms.DataGridViewTextBoxColumn(); | |||
| this.R_Date = new System.Windows.Forms.DataGridViewTextBoxColumn(); | |||
| this.backBtn = new System.Windows.Forms.Panel(); | |||
| this.backBtnLbl = new System.Windows.Forms.Label(); | |||
| ((System.ComponentModel.ISupportInitialize)(this.uDataGridView1)).BeginInit(); | |||
| this.backBtn.SuspendLayout(); | |||
| this.SuspendLayout(); | |||
| // | |||
| // uDataGridView1 | |||
| // | |||
| this.uDataGridView1.AllowUserToAddRows = false; | |||
| this.uDataGridView1.AllowUserToDeleteRows = false; | |||
| this.uDataGridView1.AllowUserToResizeColumns = false; | |||
| this.uDataGridView1.AllowUserToResizeRows = false; | |||
| dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); | |||
| this.uDataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; | |||
| this.uDataGridView1.BackgroundColor = System.Drawing.Color.White; | |||
| this.uDataGridView1.BorderStyle = System.Windows.Forms.BorderStyle.None; | |||
| this.uDataGridView1.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None; | |||
| this.uDataGridView1.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None; | |||
| dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; | |||
| dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(220)))), ((int)(((byte)(156))))); | |||
| dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 20F); | |||
| dataGridViewCellStyle2.ForeColor = System.Drawing.Color.Black; | |||
| dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; | |||
| this.uDataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; | |||
| this.uDataGridView1.ColumnHeadersHeight = 60; | |||
| this.uDataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; | |||
| this.uDataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { | |||
| this.R_ID, | |||
| this.R_CarNumber, | |||
| this.R_Number, | |||
| this.R_Date}); | |||
| this.uDataGridView1.EnableHeadersVisualStyles = false; | |||
| this.uDataGridView1.Location = new System.Drawing.Point(0, 69); | |||
| this.uDataGridView1.MultiSelect = false; | |||
| this.uDataGridView1.Name = "uDataGridView1"; | |||
| this.uDataGridView1.ReadOnly = true; | |||
| this.uDataGridView1.RowHeadersVisible = false; | |||
| dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(239)))), ((int)(((byte)(254))))); | |||
| dataGridViewCellStyle4.Font = new System.Drawing.Font("宋体", 18F); | |||
| dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(144)))), ((int)(((byte)(98)))), ((int)(((byte)(222))))); | |||
| this.uDataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle4; | |||
| this.uDataGridView1.RowTemplate.Height = 80; | |||
| this.uDataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; | |||
| this.uDataGridView1.Size = new System.Drawing.Size(730, 396); | |||
| this.uDataGridView1.TabIndex = 0; | |||
| this.uDataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.uDataGridView1_CellClick); | |||
| // | |||
| // R_ID | |||
| // | |||
| this.R_ID.HeaderText = "ID"; | |||
| this.R_ID.Name = "R_ID"; | |||
| this.R_ID.ReadOnly = true; | |||
| this.R_ID.Visible = false; | |||
| // | |||
| // R_CarNumber | |||
| // | |||
| this.R_CarNumber.DataPropertyName = "CarNumber"; | |||
| this.R_CarNumber.HeaderText = "车辆"; | |||
| this.R_CarNumber.Name = "R_CarNumber"; | |||
| this.R_CarNumber.ReadOnly = true; | |||
| this.R_CarNumber.Width = 220; | |||
| // | |||
| // R_Number | |||
| // | |||
| this.R_Number.DataPropertyName = "Number"; | |||
| this.R_Number.HeaderText = "头数"; | |||
| this.R_Number.Name = "R_Number"; | |||
| this.R_Number.ReadOnly = true; | |||
| this.R_Number.Width = 150; | |||
| // | |||
| // R_Date | |||
| // | |||
| this.R_Date.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; | |||
| this.R_Date.DataPropertyName = "Date"; | |||
| dataGridViewCellStyle3.Format = "yyyy-MM-dd HH:mm:ss"; | |||
| this.R_Date.DefaultCellStyle = dataGridViewCellStyle3; | |||
| this.R_Date.HeaderText = "时间"; | |||
| this.R_Date.Name = "R_Date"; | |||
| this.R_Date.ReadOnly = true; | |||
| // | |||
| // backBtn | |||
| // | |||
| this.backBtn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("backBtn.BackgroundImage"))); | |||
| this.backBtn.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; | |||
| this.backBtn.Controls.Add(this.backBtnLbl); | |||
| this.backBtn.Location = new System.Drawing.Point(305, 497); | |||
| this.backBtn.Name = "backBtn"; | |||
| this.backBtn.Size = new System.Drawing.Size(121, 52); | |||
| this.backBtn.TabIndex = 2; | |||
| this.backBtn.Click += new System.EventHandler(this.backBtn_Click); | |||
| // | |||
| // backBtnLbl | |||
| // | |||
| this.backBtnLbl.AutoSize = true; | |||
| this.backBtnLbl.BackColor = System.Drawing.Color.Transparent; | |||
| this.backBtnLbl.Font = new System.Drawing.Font("宋体", 14F, System.Drawing.FontStyle.Bold); | |||
| this.backBtnLbl.ForeColor = System.Drawing.Color.White; | |||
| this.backBtnLbl.Location = new System.Drawing.Point(37, 17); | |||
| this.backBtnLbl.Name = "backBtnLbl"; | |||
| this.backBtnLbl.Size = new System.Drawing.Size(49, 19); | |||
| this.backBtnLbl.TabIndex = 0; | |||
| this.backBtnLbl.Text = "返回"; | |||
| this.backBtnLbl.Click += new System.EventHandler(this.backBtn_Click); | |||
| // | |||
| // ItemSelect | |||
| // | |||
| this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); | |||
| this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | |||
| this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247))))); | |||
| this.ClientSize = new System.Drawing.Size(906, 552); | |||
| this.Controls.Add(this.backBtn); | |||
| this.Controls.Add(this.uDataGridView1); | |||
| this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; | |||
| this.Name = "ItemSelect"; | |||
| this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; | |||
| this.Text = "ItemSelect"; | |||
| ((System.ComponentModel.ISupportInitialize)(this.uDataGridView1)).EndInit(); | |||
| this.backBtn.ResumeLayout(false); | |||
| this.backBtn.PerformLayout(); | |||
| this.ResumeLayout(false); | |||
| } | |||
| #endregion | |||
| private WinFormControl.UDataGridView uDataGridView1; | |||
| private System.Windows.Forms.DataGridViewTextBoxColumn R_ID; | |||
| private System.Windows.Forms.DataGridViewTextBoxColumn R_CarNumber; | |||
| private System.Windows.Forms.DataGridViewTextBoxColumn R_Number; | |||
| private System.Windows.Forms.DataGridViewTextBoxColumn R_Date; | |||
| private System.Windows.Forms.Panel backBtn; | |||
| private System.Windows.Forms.Label backBtnLbl; | |||
| } | |||
| } | |||
| @ -0,0 +1,45 @@ | |||
| using SelfHelpClient.BO; | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.ComponentModel; | |||
| using System.Data; | |||
| using System.Drawing; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| using System.Windows.Forms; | |||
| namespace SelfHelpClient | |||
| { | |||
| public partial class ItemSelect2 : Form | |||
| { | |||
| List<ViewEntity> list; | |||
| ReadCardForm form; | |||
| public ItemSelect2(List<ViewEntity> mlist, ReadCardForm mForm) | |||
| { | |||
| InitializeComponent(); | |||
| form = mForm; | |||
| list = mlist; | |||
| } | |||
| protected override void OnLoad(EventArgs e) | |||
| { | |||
| base.OnLoad(e); | |||
| uDataGridView1.DataSource = list; | |||
| uDataGridView1.Refresh(); | |||
| } | |||
| private void uDataGridView1_CellClick(object sender, DataGridViewCellEventArgs e) | |||
| { | |||
| if (e.RowIndex < 0) | |||
| return; | |||
| form.VEntity = uDataGridView1.CurrentRow.DataBoundItem as ViewEntity; | |||
| DialogResult = DialogResult.OK; | |||
| } | |||
| private void backBtn_Click(object sender, EventArgs e) | |||
| { | |||
| this.Close(); | |||
| } | |||
| } | |||
| } | |||
| @ -0,0 +1,168 @@ | |||
| <?xml version="1.0" encoding="utf-8"?> | |||
| <root> | |||
| <!-- | |||
| Microsoft ResX Schema | |||
| Version 2.0 | |||
| The primary goals of this format is to allow a simple XML format | |||
| that is mostly human readable. The generation and parsing of the | |||
| various data types are done through the TypeConverter classes | |||
| associated with the data types. | |||
| Example: | |||
| ... ado.net/XML headers & schema ... | |||
| <resheader name="resmimetype">text/microsoft-resx</resheader> | |||
| <resheader name="version">2.0</resheader> | |||
| <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | |||
| <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | |||
| <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | |||
| <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | |||
| <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | |||
| <value>[base64 mime encoded serialized .NET Framework object]</value> | |||
| </data> | |||
| <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | |||
| <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | |||
| <comment>This is a comment</comment> | |||
| </data> | |||
| There are any number of "resheader" rows that contain simple | |||
| name/value pairs. | |||
| Each data row contains a name, and value. The row also contains a | |||
| type or mimetype. Type corresponds to a .NET class that support | |||
| text/value conversion through the TypeConverter architecture. | |||
| Classes that don't support this are serialized and stored with the | |||
| mimetype set. | |||
| The mimetype is used for serialized objects, and tells the | |||
| ResXResourceReader how to depersist the object. This is currently not | |||
| extensible. For a given mimetype the value must be set accordingly: | |||
| Note - application/x-microsoft.net.object.binary.base64 is the format | |||
| that the ResXResourceWriter will generate, however the reader can | |||
| read any of the formats listed below. | |||
| mimetype: application/x-microsoft.net.object.binary.base64 | |||
| value : The object must be serialized with | |||
| : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | |||
| : and then encoded with base64 encoding. | |||
| mimetype: application/x-microsoft.net.object.soap.base64 | |||
| value : The object must be serialized with | |||
| : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | |||
| : and then encoded with base64 encoding. | |||
| mimetype: application/x-microsoft.net.object.bytearray.base64 | |||
| value : The object must be serialized into a byte array | |||
| : using a System.ComponentModel.TypeConverter | |||
| : and then encoded with base64 encoding. | |||
| --> | |||
| <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | |||
| <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | |||
| <xsd:element name="root" msdata:IsDataSet="true"> | |||
| <xsd:complexType> | |||
| <xsd:choice maxOccurs="unbounded"> | |||
| <xsd:element name="metadata"> | |||
| <xsd:complexType> | |||
| <xsd:sequence> | |||
| <xsd:element name="value" type="xsd:string" minOccurs="0" /> | |||
| </xsd:sequence> | |||
| <xsd:attribute name="name" use="required" type="xsd:string" /> | |||
| <xsd:attribute name="type" type="xsd:string" /> | |||
| <xsd:attribute name="mimetype" type="xsd:string" /> | |||
| <xsd:attribute ref="xml:space" /> | |||
| </xsd:complexType> | |||
| </xsd:element> | |||
| <xsd:element name="assembly"> | |||
| <xsd:complexType> | |||
| <xsd:attribute name="alias" type="xsd:string" /> | |||
| <xsd:attribute name="name" type="xsd:string" /> | |||
| </xsd:complexType> | |||
| </xsd:element> | |||
| <xsd:element name="data"> | |||
| <xsd:complexType> | |||
| <xsd:sequence> | |||
| <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | |||
| <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | |||
| </xsd:sequence> | |||
| <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | |||
| <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | |||
| <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | |||
| <xsd:attribute ref="xml:space" /> | |||
| </xsd:complexType> | |||
| </xsd:element> | |||
| <xsd:element name="resheader"> | |||
| <xsd:complexType> | |||
| <xsd:sequence> | |||
| <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | |||
| </xsd:sequence> | |||
| <xsd:attribute name="name" type="xsd:string" use="required" /> | |||
| </xsd:complexType> | |||
| </xsd:element> | |||
| </xsd:choice> | |||
| </xsd:complexType> | |||
| </xsd:element> | |||
| </xsd:schema> | |||
| <resheader name="resmimetype"> | |||
| <value>text/microsoft-resx</value> | |||
| </resheader> | |||
| <resheader name="version"> | |||
| <value>2.0</value> | |||
| </resheader> | |||
| <resheader name="reader"> | |||
| <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | |||
| </resheader> | |||
| <resheader name="writer"> | |||
| <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | |||
| </resheader> | |||
| <metadata name="R_ID.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |||
| <value>True</value> | |||
| </metadata> | |||
| <metadata name="R_CarNumber.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |||
| <value>True</value> | |||
| </metadata> | |||
| <metadata name="R_Number.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |||
| <value>True</value> | |||
| </metadata> | |||
| <metadata name="R_Date.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |||
| <value>True</value> | |||
| </metadata> | |||
| <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | |||
| <data name="backBtn.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | |||
| <value> | |||
| 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 | |||
| TkSuQmCC | |||
| </value> | |||
| </data> | |||
| </root> | |||
| @ -0,0 +1,149 @@ | |||
| namespace SelfHelpClient | |||
| { | |||
| partial class ReadCardForm2 | |||
| { | |||
| /// <summary> | |||
| /// Required designer variable. | |||
| /// </summary> | |||
| private System.ComponentModel.IContainer components = null; | |||
| /// <summary> | |||
| /// Clean up any resources being used. | |||
| /// </summary> | |||
| /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> | |||
| protected override void Dispose(bool disposing) | |||
| { | |||
| if (disposing && (components != null)) | |||
| { | |||
| components.Dispose(); | |||
| } | |||
| base.Dispose(disposing); | |||
| } | |||
| #region Windows Form Designer generated code | |||
| /// <summary> | |||
| /// Required method for Designer support - do not modify | |||
| /// the contents of this method with the code editor. | |||
| /// </summary> | |||
| private void InitializeComponent() | |||
| { | |||
| System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ReadCardForm2)); | |||
| this.panel1 = new System.Windows.Forms.Panel(); | |||
| this.ganyingPanel = new System.Windows.Forms.Panel(); | |||
| this.uLabel2 = new WinFormControl.ULabel(); | |||
| this.uLabel1 = new WinFormControl.ULabel(); | |||
| this.shuakaPanel = new System.Windows.Forms.Panel(); | |||
| this.backBtn = new System.Windows.Forms.Panel(); | |||
| this.backBtnLbl = new System.Windows.Forms.Label(); | |||
| this.panel1.SuspendLayout(); | |||
| this.backBtn.SuspendLayout(); | |||
| this.SuspendLayout(); | |||
| // | |||
| // panel1 | |||
| // | |||
| this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(200)))), ((int)(((byte)(135))))); | |||
| this.panel1.Controls.Add(this.ganyingPanel); | |||
| this.panel1.Controls.Add(this.uLabel2); | |||
| this.panel1.Controls.Add(this.uLabel1); | |||
| this.panel1.Controls.Add(this.shuakaPanel); | |||
| this.panel1.Location = new System.Drawing.Point(127, 6); | |||
| this.panel1.Name = "panel1"; | |||
| this.panel1.Size = new System.Drawing.Size(730, 433); | |||
| this.panel1.TabIndex = 2; | |||
| // | |||
| // ganyingPanel | |||
| // | |||
| this.ganyingPanel.BackgroundImage = global::SelfHelpClient.Properties.Resources.ganying; | |||
| this.ganyingPanel.Location = new System.Drawing.Point(326, 31); | |||
| this.ganyingPanel.Name = "ganyingPanel"; | |||
| this.ganyingPanel.Size = new System.Drawing.Size(221, 152); | |||
| this.ganyingPanel.TabIndex = 1; | |||
| // | |||
| // uLabel2 | |||
| // | |||
| this.uLabel2.AutoSize = true; | |||
| this.uLabel2.BackColor = System.Drawing.Color.Transparent; | |||
| this.uLabel2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold); | |||
| this.uLabel2.ForeColor = System.Drawing.Color.White; | |||
| this.uLabel2.Location = new System.Drawing.Point(56, 87); | |||
| this.uLabel2.Name = "uLabel2"; | |||
| this.uLabel2.Size = new System.Drawing.Size(76, 16); | |||
| this.uLabel2.TabIndex = 0; | |||
| this.uLabel2.Text = "进行操作"; | |||
| // | |||
| // uLabel1 | |||
| // | |||
| this.uLabel1.AutoSize = true; | |||
| this.uLabel1.BackColor = System.Drawing.Color.Transparent; | |||
| this.uLabel1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); | |||
| this.uLabel1.ForeColor = System.Drawing.Color.White; | |||
| this.uLabel1.Location = new System.Drawing.Point(56, 59); | |||
| this.uLabel1.Name = "uLabel1"; | |||
| this.uLabel1.Size = new System.Drawing.Size(178, 16); | |||
| this.uLabel1.TabIndex = 0; | |||
| this.uLabel1.Text = "请把身份证放到感应区"; | |||
| // | |||
| // shuakaPanel | |||
| // | |||
| this.shuakaPanel.BackgroundImage = global::SelfHelpClient.Properties.Resources.shuaka; | |||
| this.shuakaPanel.Location = new System.Drawing.Point(450, 175); | |||
| this.shuakaPanel.Name = "shuakaPanel"; | |||
| this.shuakaPanel.Size = new System.Drawing.Size(279, 258); | |||
| this.shuakaPanel.TabIndex = 2; | |||
| // | |||
| // backBtn | |||
| // | |||
| this.backBtn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("backBtn.BackgroundImage"))); | |||
| this.backBtn.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; | |||
| this.backBtn.Controls.Add(this.backBtnLbl); | |||
| this.backBtn.Location = new System.Drawing.Point(432, 503); | |||
| this.backBtn.Name = "backBtn"; | |||
| this.backBtn.Size = new System.Drawing.Size(121, 52); | |||
| this.backBtn.TabIndex = 3; | |||
| // | |||
| // backBtnLbl | |||
| // | |||
| this.backBtnLbl.AutoSize = true; | |||
| this.backBtnLbl.BackColor = System.Drawing.Color.Transparent; | |||
| this.backBtnLbl.Font = new System.Drawing.Font("宋体", 14F, System.Drawing.FontStyle.Bold); | |||
| this.backBtnLbl.ForeColor = System.Drawing.Color.White; | |||
| this.backBtnLbl.Location = new System.Drawing.Point(37, 17); | |||
| this.backBtnLbl.Name = "backBtnLbl"; | |||
| this.backBtnLbl.Size = new System.Drawing.Size(49, 19); | |||
| this.backBtnLbl.TabIndex = 0; | |||
| this.backBtnLbl.Text = "返回"; | |||
| // | |||
| // ReadCardForm | |||
| // | |||
| this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); | |||
| this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | |||
| this.BackColor = System.Drawing.SystemColors.Control; | |||
| this.ClientSize = new System.Drawing.Size(984, 561); | |||
| this.Controls.Add(this.panel1); | |||
| this.Controls.Add(this.backBtn); | |||
| this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; | |||
| this.ImeMode = System.Windows.Forms.ImeMode.Disable; | |||
| this.KeyPreview = true; | |||
| this.Name = "ReadCardForm"; | |||
| this.panel1.ResumeLayout(false); | |||
| this.panel1.PerformLayout(); | |||
| this.backBtn.ResumeLayout(false); | |||
| this.backBtn.PerformLayout(); | |||
| this.ResumeLayout(false); | |||
| } | |||
| #endregion | |||
| private System.Windows.Forms.Panel panel1; | |||
| private System.Windows.Forms.Panel ganyingPanel; | |||
| private WinFormControl.ULabel uLabel2; | |||
| private WinFormControl.ULabel uLabel1; | |||
| private System.Windows.Forms.Panel shuakaPanel; | |||
| private System.Windows.Forms.Panel backBtn; | |||
| private System.Windows.Forms.Label backBtnLbl; | |||
| } | |||
| } | |||
| @ -0,0 +1,58 @@ | |||
| using SelfHelpClient.BL; | |||
| using SelfHelpClient.BO; | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.ComponentModel; | |||
| using System.Data; | |||
| using System.Drawing; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading; | |||
| using System.Threading.Tasks; | |||
| using System.Windows.Forms; | |||
| namespace SelfHelpClient | |||
| { | |||
| public partial class ReadCardForm2 : Form | |||
| { | |||
| string _cardNumber = ""; | |||
| public ViewEntity VEntity { get; set; } | |||
| public ReadCardForm2() | |||
| { | |||
| InitializeComponent(); | |||
| this.KeyPress += ReadCardForm_KeyPress; | |||
| } | |||
| void ReadCardForm_KeyPress(object sender, KeyPressEventArgs e) | |||
| { | |||
| if (e.KeyChar == (char)Keys.Tab) | |||
| { | |||
| FillViewEntity(_cardNumber); | |||
| DialogResult = DialogResult.OK; | |||
| } | |||
| else | |||
| _cardNumber += e.KeyChar.ToString(); | |||
| } | |||
| private void FillViewEntity(string idCard) | |||
| { | |||
| var list = WeightBillBL.GetViewEntity(idCard).OrderByDescending(x => x.Date).ToList(); | |||
| if (list.Count == 0) | |||
| { | |||
| DialogForm.ShowDialog("没有待办理业务", 5); | |||
| this.Close(); | |||
| } | |||
| else if (list.Count == 1) | |||
| VEntity = list.First(); | |||
| else | |||
| { | |||
| //new ItemSelect(list, this).ShowDialog(); | |||
| } | |||
| } | |||
| private void backBtn_Click(object sender, EventArgs e) | |||
| { | |||
| this.Close(); | |||
| } | |||
| } | |||
| } | |||
| @ -0,0 +1,155 @@ | |||
| <?xml version="1.0" encoding="utf-8"?> | |||
| <root> | |||
| <!-- | |||
| Microsoft ResX Schema | |||
| Version 2.0 | |||
| The primary goals of this format is to allow a simple XML format | |||
| that is mostly human readable. The generation and parsing of the | |||
| various data types are done through the TypeConverter classes | |||
| associated with the data types. | |||
| Example: | |||
| ... ado.net/XML headers & schema ... | |||
| <resheader name="resmimetype">text/microsoft-resx</resheader> | |||
| <resheader name="version">2.0</resheader> | |||
| <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | |||
| <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | |||
| <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | |||
| <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | |||
| <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | |||
| <value>[base64 mime encoded serialized .NET Framework object]</value> | |||
| </data> | |||
| <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | |||
| <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | |||
| <comment>This is a comment</comment> | |||
| </data> | |||
| There are any number of "resheader" rows that contain simple | |||
| name/value pairs. | |||
| Each data row contains a name, and value. The row also contains a | |||
| type or mimetype. Type corresponds to a .NET class that support | |||
| text/value conversion through the TypeConverter architecture. | |||
| Classes that don't support this are serialized and stored with the | |||
| mimetype set. | |||
| The mimetype is used for serialized objects, and tells the | |||
| ResXResourceReader how to depersist the object. This is currently not | |||
| extensible. For a given mimetype the value must be set accordingly: | |||
| Note - application/x-microsoft.net.object.binary.base64 is the format | |||
| that the ResXResourceWriter will generate, however the reader can | |||
| read any of the formats listed below. | |||
| mimetype: application/x-microsoft.net.object.binary.base64 | |||
| value : The object must be serialized with | |||
| : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | |||
| : and then encoded with base64 encoding. | |||
| mimetype: application/x-microsoft.net.object.soap.base64 | |||
| value : The object must be serialized with | |||
| : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | |||
| : and then encoded with base64 encoding. | |||
| mimetype: application/x-microsoft.net.object.bytearray.base64 | |||
| value : The object must be serialized into a byte array | |||
| : using a System.ComponentModel.TypeConverter | |||
| : and then encoded with base64 encoding. | |||
| --> | |||
| <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | |||
| <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | |||
| <xsd:element name="root" msdata:IsDataSet="true"> | |||
| <xsd:complexType> | |||
| <xsd:choice maxOccurs="unbounded"> | |||
| <xsd:element name="metadata"> | |||
| <xsd:complexType> | |||
| <xsd:sequence> | |||
| <xsd:element name="value" type="xsd:string" minOccurs="0" /> | |||
| </xsd:sequence> | |||
| <xsd:attribute name="name" use="required" type="xsd:string" /> | |||
| <xsd:attribute name="type" type="xsd:string" /> | |||
| <xsd:attribute name="mimetype" type="xsd:string" /> | |||
| <xsd:attribute ref="xml:space" /> | |||
| </xsd:complexType> | |||
| </xsd:element> | |||
| <xsd:element name="assembly"> | |||
| <xsd:complexType> | |||
| <xsd:attribute name="alias" type="xsd:string" /> | |||
| <xsd:attribute name="name" type="xsd:string" /> | |||
| </xsd:complexType> | |||
| </xsd:element> | |||
| <xsd:element name="data"> | |||
| <xsd:complexType> | |||
| <xsd:sequence> | |||
| <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | |||
| <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | |||
| </xsd:sequence> | |||
| <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | |||
| <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | |||
| <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | |||
| <xsd:attribute ref="xml:space" /> | |||
| </xsd:complexType> | |||
| </xsd:element> | |||
| <xsd:element name="resheader"> | |||
| <xsd:complexType> | |||
| <xsd:sequence> | |||
| <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | |||
| </xsd:sequence> | |||
| <xsd:attribute name="name" type="xsd:string" use="required" /> | |||
| </xsd:complexType> | |||
| </xsd:element> | |||
| </xsd:choice> | |||
| </xsd:complexType> | |||
| </xsd:element> | |||
| </xsd:schema> | |||
| <resheader name="resmimetype"> | |||
| <value>text/microsoft-resx</value> | |||
| </resheader> | |||
| <resheader name="version"> | |||
| <value>2.0</value> | |||
| </resheader> | |||
| <resheader name="reader"> | |||
| <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | |||
| </resheader> | |||
| <resheader name="writer"> | |||
| <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | |||
| </resheader> | |||
| <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | |||
| <data name="backBtn.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | |||
| <value> | |||
| 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 | |||
| </value> | |||
| </data> | |||
| </root> | |||
| @ -0,0 +1,108 @@ | |||
| namespace SelfHelpClient | |||
| { | |||
| partial class Template | |||
| { | |||
| /// <summary> | |||
| /// Required designer variable. | |||
| /// </summary> | |||
| private System.ComponentModel.IContainer components = null; | |||
| /// <summary> | |||
| /// Clean up any resources being used. | |||
| /// </summary> | |||
| /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> | |||
| protected override void Dispose(bool disposing) | |||
| { | |||
| if (disposing && (components != null)) | |||
| { | |||
| components.Dispose(); | |||
| } | |||
| base.Dispose(disposing); | |||
| } | |||
| #region Windows Form Designer generated code | |||
| /// <summary> | |||
| /// Required method for Designer support - do not modify | |||
| /// the contents of this method with the code editor. | |||
| /// </summary> | |||
| private void InitializeComponent() | |||
| { | |||
| this.titlePanel = new System.Windows.Forms.Panel(); | |||
| this.label1 = new System.Windows.Forms.Label(); | |||
| this.logoPanel = new System.Windows.Forms.Panel(); | |||
| this.mainPanel = new System.Windows.Forms.Panel(); | |||
| this.titlePanel.SuspendLayout(); | |||
| this.SuspendLayout(); | |||
| // | |||
| // titlePanel | |||
| // | |||
| this.titlePanel.BackgroundImage = global::SelfHelpClient.Properties.Resources.titleBg; | |||
| this.titlePanel.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; | |||
| this.titlePanel.Controls.Add(this.label1); | |||
| this.titlePanel.Controls.Add(this.logoPanel); | |||
| this.titlePanel.Dock = System.Windows.Forms.DockStyle.Top; | |||
| this.titlePanel.Location = new System.Drawing.Point(0, 0); | |||
| this.titlePanel.Name = "titlePanel"; | |||
| this.titlePanel.Size = new System.Drawing.Size(1000, 80); | |||
| this.titlePanel.TabIndex = 4; | |||
| // | |||
| // label1 | |||
| // | |||
| this.label1.AutoSize = true; | |||
| this.label1.BackColor = System.Drawing.Color.Transparent; | |||
| this.label1.Font = new System.Drawing.Font("宋体", 18F, System.Drawing.FontStyle.Bold); | |||
| this.label1.ForeColor = System.Drawing.Color.White; | |||
| this.label1.Location = new System.Drawing.Point(72, 28); | |||
| this.label1.Name = "label1"; | |||
| this.label1.Size = new System.Drawing.Size(210, 24); | |||
| this.label1.TabIndex = 1; | |||
| this.label1.Text = "屠宰自助服务系统"; | |||
| // | |||
| // logoPanel | |||
| // | |||
| this.logoPanel.BackColor = System.Drawing.Color.Transparent; | |||
| this.logoPanel.BackgroundImage = global::SelfHelpClient.Properties.Resources.logo; | |||
| this.logoPanel.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; | |||
| this.logoPanel.Location = new System.Drawing.Point(25, 20); | |||
| this.logoPanel.Name = "logoPanel"; | |||
| this.logoPanel.Size = new System.Drawing.Size(42, 42); | |||
| this.logoPanel.TabIndex = 0; | |||
| // | |||
| // mainPanel | |||
| // | |||
| this.mainPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | |||
| | System.Windows.Forms.AnchorStyles.Left) | |||
| | System.Windows.Forms.AnchorStyles.Right))); | |||
| this.mainPanel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247))))); | |||
| this.mainPanel.Location = new System.Drawing.Point(6, 80); | |||
| this.mainPanel.Name = "mainPanel"; | |||
| this.mainPanel.Size = new System.Drawing.Size(988, 514); | |||
| this.mainPanel.TabIndex = 5; | |||
| // | |||
| // Template | |||
| // | |||
| this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); | |||
| this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | |||
| this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(56)))), ((int)(((byte)(60)))), ((int)(((byte)(203))))); | |||
| this.ClientSize = new System.Drawing.Size(1000, 600); | |||
| this.Controls.Add(this.mainPanel); | |||
| this.Controls.Add(this.titlePanel); | |||
| this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; | |||
| this.Name = "Template"; | |||
| this.Text = "Template"; | |||
| this.titlePanel.ResumeLayout(false); | |||
| this.titlePanel.PerformLayout(); | |||
| this.ResumeLayout(false); | |||
| } | |||
| #endregion | |||
| private System.Windows.Forms.Label label1; | |||
| private System.Windows.Forms.Panel logoPanel; | |||
| private System.Windows.Forms.Panel titlePanel; | |||
| public System.Windows.Forms.Panel mainPanel; | |||
| } | |||
| } | |||
| @ -0,0 +1,20 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.ComponentModel; | |||
| using System.Data; | |||
| using System.Drawing; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| using System.Windows.Forms; | |||
| namespace SelfHelpClient | |||
| { | |||
| public partial class Template : Form | |||
| { | |||
| public Template() | |||
| { | |||
| InitializeComponent(); | |||
| } | |||
| } | |||
| } | |||
| @ -0,0 +1,120 @@ | |||
| <?xml version="1.0" encoding="utf-8"?> | |||
| <root> | |||
| <!-- | |||
| Microsoft ResX Schema | |||
| Version 2.0 | |||
| The primary goals of this format is to allow a simple XML format | |||
| that is mostly human readable. The generation and parsing of the | |||
| various data types are done through the TypeConverter classes | |||
| associated with the data types. | |||
| Example: | |||
| ... ado.net/XML headers & schema ... | |||
| <resheader name="resmimetype">text/microsoft-resx</resheader> | |||
| <resheader name="version">2.0</resheader> | |||
| <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | |||
| <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | |||
| <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | |||
| <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | |||
| <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | |||
| <value>[base64 mime encoded serialized .NET Framework object]</value> | |||
| </data> | |||
| <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | |||
| <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | |||
| <comment>This is a comment</comment> | |||
| </data> | |||
| There are any number of "resheader" rows that contain simple | |||
| name/value pairs. | |||
| Each data row contains a name, and value. The row also contains a | |||
| type or mimetype. Type corresponds to a .NET class that support | |||
| text/value conversion through the TypeConverter architecture. | |||
| Classes that don't support this are serialized and stored with the | |||
| mimetype set. | |||
| The mimetype is used for serialized objects, and tells the | |||
| ResXResourceReader how to depersist the object. This is currently not | |||
| extensible. For a given mimetype the value must be set accordingly: | |||
| Note - application/x-microsoft.net.object.binary.base64 is the format | |||
| that the ResXResourceWriter will generate, however the reader can | |||
| read any of the formats listed below. | |||
| mimetype: application/x-microsoft.net.object.binary.base64 | |||
| value : The object must be serialized with | |||
| : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | |||
| : and then encoded with base64 encoding. | |||
| mimetype: application/x-microsoft.net.object.soap.base64 | |||
| value : The object must be serialized with | |||
| : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | |||
| : and then encoded with base64 encoding. | |||
| mimetype: application/x-microsoft.net.object.bytearray.base64 | |||
| value : The object must be serialized into a byte array | |||
| : using a System.ComponentModel.TypeConverter | |||
| : and then encoded with base64 encoding. | |||
| --> | |||
| <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | |||
| <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | |||
| <xsd:element name="root" msdata:IsDataSet="true"> | |||
| <xsd:complexType> | |||
| <xsd:choice maxOccurs="unbounded"> | |||
| <xsd:element name="metadata"> | |||
| <xsd:complexType> | |||
| <xsd:sequence> | |||
| <xsd:element name="value" type="xsd:string" minOccurs="0" /> | |||
| </xsd:sequence> | |||
| <xsd:attribute name="name" use="required" type="xsd:string" /> | |||
| <xsd:attribute name="type" type="xsd:string" /> | |||
| <xsd:attribute name="mimetype" type="xsd:string" /> | |||
| <xsd:attribute ref="xml:space" /> | |||
| </xsd:complexType> | |||
| </xsd:element> | |||
| <xsd:element name="assembly"> | |||
| <xsd:complexType> | |||
| <xsd:attribute name="alias" type="xsd:string" /> | |||
| <xsd:attribute name="name" type="xsd:string" /> | |||
| </xsd:complexType> | |||
| </xsd:element> | |||
| <xsd:element name="data"> | |||
| <xsd:complexType> | |||
| <xsd:sequence> | |||
| <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | |||
| <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | |||
| </xsd:sequence> | |||
| <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | |||
| <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | |||
| <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | |||
| <xsd:attribute ref="xml:space" /> | |||
| </xsd:complexType> | |||
| </xsd:element> | |||
| <xsd:element name="resheader"> | |||
| <xsd:complexType> | |||
| <xsd:sequence> | |||
| <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | |||
| </xsd:sequence> | |||
| <xsd:attribute name="name" type="xsd:string" use="required" /> | |||
| </xsd:complexType> | |||
| </xsd:element> | |||
| </xsd:choice> | |||
| </xsd:complexType> | |||
| </xsd:element> | |||
| </xsd:schema> | |||
| <resheader name="resmimetype"> | |||
| <value>text/microsoft-resx</value> | |||
| </resheader> | |||
| <resheader name="version"> | |||
| <value>2.0</value> | |||
| </resheader> | |||
| <resheader name="reader"> | |||
| <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | |||
| </resheader> | |||
| <resheader name="writer"> | |||
| <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | |||
| </resheader> | |||
| </root> | |||