| DevApp/Gs.DevApp/App.config | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| DevApp/Gs.DevApp/DevFrm/Sales/Frm_SalesReturnNotice.Designer.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| DevApp/Gs.DevApp/DevFrm/Sales/Frm_SalesReturnNotice.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| DevApp/Gs.DevApp/Gs.DevApp.csproj | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| DevApp/Gs.DevApp/UserControl/UcBtnPrint.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| DevApp/Gs.DevApp/UserControl/UcBtnPrintAll.Designer.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| DevApp/Gs.DevApp/UserControl/UcBtnPrintAll.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| DevApp/Gs.DevApp/UserControl/UcBtnPrintAll.resx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
DevApp/Gs.DevApp/App.config
@@ -37,8 +37,8 @@ <appSettings> <!--<add key="webapiurl" value="http://localhost:5263/" />--> <!--<add key="WebApiUrl" value="http://192.168.1.145:8081/" />--> <add key="WebApiUrl" value="http://192.168.1.145:81/" /> <add key="WebApiUrl" value="http://192.168.1.145:8081/" /> <!--<add key="WebApiUrl" value="http://192.168.1.145:81/" />--> <add key="LogPath" value="logs" /> <add key="ProductName" value="G-MES V2.0" /> <add key="PageSize" value="50" /> DevApp/Gs.DevApp/DevFrm/Sales/Frm_SalesReturnNotice.Designer.cs
@@ -86,6 +86,7 @@ this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage(); this.splitMx1 = new DevExpress.XtraEditors.SplitContainerControl(); this.layoutMx1 = new DevExpress.XtraLayout.LayoutControl(); this.ucBtnPrintAll1 = new Gs.DevApp.UserControl.UcBtnPrintAll(); this.btnSelect = new DevExpress.XtraEditors.SimpleButton(); this.txt_returnCustomer = new Gs.DevApp.UserControl.UcLookCustomer(); this.txt_salesDept = new Gs.DevApp.UserControl.UcLookDepartment(); @@ -135,6 +136,7 @@ this.layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); this.layItem101 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); this.tabMx = new DevExpress.XtraTab.XtraTabControl(); this.tabMxPage1 = new DevExpress.XtraTab.XtraTabPage(); this.split99 = new DevExpress.XtraEditors.SplitContainerControl(); @@ -268,6 +270,7 @@ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layItem101)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tabMx)).BeginInit(); this.tabMx.SuspendLayout(); this.tabMxPage1.SuspendLayout(); @@ -706,11 +709,12 @@ this.splitMx1.Panel2.Text = "Panel2"; this.splitMx1.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True; this.splitMx1.Size = new System.Drawing.Size(1437, 570); this.splitMx1.SplitterPosition = 174; this.splitMx1.SplitterPosition = 182; this.splitMx1.TabIndex = 0; // // layoutMx1 // this.layoutMx1.Controls.Add(this.ucBtnPrintAll1); this.layoutMx1.Controls.Add(this.btnSelect); this.layoutMx1.Controls.Add(this.txt_returnCustomer); this.layoutMx1.Controls.Add(this.txt_salesDept); @@ -745,11 +749,20 @@ this.layoutControlItem6}); this.layoutMx1.Location = new System.Drawing.Point(0, 0); this.layoutMx1.Name = "layoutMx1"; this.layoutMx1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(637, 414, 812, 500); this.layoutMx1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(575, 496, 812, 534); this.layoutMx1.Root = this.Root; this.layoutMx1.Size = new System.Drawing.Size(1437, 174); this.layoutMx1.Size = new System.Drawing.Size(1437, 182); this.layoutMx1.TabIndex = 0; this.layoutMx1.Text = "layoutControl1"; // // ucBtnPrintAll1 // this.ucBtnPrintAll1.Location = new System.Drawing.Point(1074, 140); this.ucBtnPrintAll1.mxList = null; this.ucBtnPrintAll1.Name = "ucBtnPrintAll1"; this.ucBtnPrintAll1.rptType = null; this.ucBtnPrintAll1.Size = new System.Drawing.Size(196, 27); this.ucBtnPrintAll1.TabIndex = 546; // // btnSelect // @@ -1088,7 +1101,8 @@ this.layoutControlItem14, this.layoutControlItem9, this.layoutControlItem3, this.layItem101}); this.layItem101, this.layoutControlItem2}); this.Root.LayoutMode = DevExpress.XtraLayout.Utils.LayoutMode.Table; this.Root.Name = "Root"; columnDefinition1.SizeType = System.Windows.Forms.SizeType.Percent; @@ -1120,7 +1134,7 @@ rowDefinition3, rowDefinition4, rowDefinition5}); this.Root.Size = new System.Drawing.Size(1437, 180); this.Root.Size = new System.Drawing.Size(1437, 182); this.Root.TextVisible = false; // // layoutControlItem4 @@ -1267,7 +1281,7 @@ this.layItem100.Name = "layItem100"; this.layItem100.OptionsTableLayoutItem.ColumnIndex = 1; this.layItem100.OptionsTableLayoutItem.RowIndex = 4; this.layItem100.Size = new System.Drawing.Size(354, 32); this.layItem100.Size = new System.Drawing.Size(354, 34); this.layItem100.Text = "æ°æ®æ¥æº"; this.layItem100.TextSize = new System.Drawing.Size(60, 18); // @@ -1327,9 +1341,24 @@ this.layItem101.Name = "layItem101"; this.layItem101.OptionsTableLayoutItem.ColumnIndex = 2; this.layItem101.OptionsTableLayoutItem.RowIndex = 4; this.layItem101.Size = new System.Drawing.Size(354, 32); this.layItem101.Size = new System.Drawing.Size(354, 34); this.layItem101.Text = "é宿¨¡å¼"; this.layItem101.TextSize = new System.Drawing.Size(60, 18); // // layoutControlItem2 // this.layoutControlItem2.Control = this.ucBtnPrintAll1; this.layoutControlItem2.Location = new System.Drawing.Point(1062, 128); this.layoutControlItem2.MaxSize = new System.Drawing.Size(200, 31); this.layoutControlItem2.MinSize = new System.Drawing.Size(101, 31); this.layoutControlItem2.Name = "layoutControlItem2"; this.layoutControlItem2.OptionsTableLayoutItem.ColumnIndex = 3; this.layoutControlItem2.OptionsTableLayoutItem.RowIndex = 4; this.layoutControlItem2.Size = new System.Drawing.Size(355, 34); this.layoutControlItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem2.Text = "æå°æææç»"; this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem2.TextVisible = false; // // tabMx // @@ -1337,7 +1366,7 @@ this.tabMx.Location = new System.Drawing.Point(0, 0); this.tabMx.Name = "tabMx"; this.tabMx.SelectedTabPage = this.tabMxPage1; this.tabMx.Size = new System.Drawing.Size(1437, 384); this.tabMx.Size = new System.Drawing.Size(1437, 376); this.tabMx.TabIndex = 3; this.tabMx.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { this.tabMxPage1, @@ -1347,7 +1376,7 @@ // this.tabMxPage1.Controls.Add(this.split99); this.tabMxPage1.Name = "tabMxPage1"; this.tabMxPage1.Size = new System.Drawing.Size(1435, 352); this.tabMxPage1.Size = new System.Drawing.Size(1435, 344); this.tabMxPage1.Text = "ç³è¯·æç»"; // // split99 @@ -1367,7 +1396,7 @@ this.split99.Panel2.Controls.Add(this.gcMx1); this.split99.Panel2.Text = "Panel2"; this.split99.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True; this.split99.Size = new System.Drawing.Size(1435, 352); this.split99.Size = new System.Drawing.Size(1435, 344); this.split99.SplitterPosition = 132; this.split99.TabIndex = 4; // @@ -1749,7 +1778,7 @@ this.repositoryItemButtonEdit1, this.repositoryItemComboBox1, this.repositoryItemDateEdit1}); this.gcMx1.Size = new System.Drawing.Size(1435, 208); this.gcMx1.Size = new System.Drawing.Size(1435, 200); this.gcMx1.TabIndex = 0; this.gcMx1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gvMx1}); @@ -2021,7 +2050,7 @@ // this.tabMxPage2.Controls.Add(this.gcMx2); this.tabMxPage2.Name = "tabMxPage2"; this.tabMxPage2.Size = new System.Drawing.Size(1435, 352); this.tabMxPage2.Size = new System.Drawing.Size(1435, 344); this.tabMxPage2.Text = "å·²æå°æ¡ç æç»"; // // gcMx2 @@ -2030,7 +2059,7 @@ this.gcMx2.Location = new System.Drawing.Point(0, 0); this.gcMx2.MainView = this.gvMx2; this.gcMx2.Name = "gcMx2"; this.gcMx2.Size = new System.Drawing.Size(1435, 352); this.gcMx2.Size = new System.Drawing.Size(1435, 344); this.gcMx2.TabIndex = 3; this.gcMx2.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gvMx2}); @@ -2278,6 +2307,7 @@ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layItem101)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tabMx)).EndInit(); this.tabMx.ResumeLayout(false); this.tabMxPage1.ResumeLayout(false); @@ -2483,5 +2513,7 @@ private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; private DevExpress.XtraEditors.ComboBoxEdit txt_xsms; private DevExpress.XtraLayout.LayoutControlItem layItem101; private UserControl.UcBtnPrintAll ucBtnPrintAll1; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; } } DevApp/Gs.DevApp/DevFrm/Sales/Frm_SalesReturnNotice.cs
@@ -1,3 +1,4 @@ using DevExpress.Utils.VisualEffects; using DevExpress.XtraEditors; using Gs.DevApp.DevFrm.Rpt; using Gs.DevApp.DevFrm.Sales; @@ -9,6 +10,8 @@ using System; using System.Collections.Generic; using System.Data; using System.IO; using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; @@ -109,6 +112,45 @@ radOut.SelectedIndexChanged += (s, e) => { Gs.DevApp.ToolBox.UtilityHelper.PrintAuto(txt_psnQty_1, txt_iCount_1, radOut, txt_yuliang_1); }; //å ¨é¨æå° ucBtnPrintAll1.btnPrintClick += (s, e) => { this.ucBtnPrintAll1.rptType = ""; this.ucBtnPrintAll1.mxList = null; if (string.IsNullOrEmpty(lbGuid.Text.Trim())) { MsgHelper.ShowError("æç¤ºï¼æå°å请å ä¿ååæ®ï¼"); return; } getModel(lbGuid.Text.Trim()); List<dynamic> lst = new List<dynamic>(); DataTable dt = (DataTable)gcMx1.DataSource; foreach (DataRow row in dt.Rows) { string guid = row["guid"].ToString(); string psnQty = row["kdy"].ToString(); if (string.IsNullOrEmpty(psnQty)) { continue; } if (psnQty == "0") { continue; } lst.Add(new { guid = guid, kdy = psnQty, }); } if (lst.Count <= 0) { MsgHelper.ShowError("æç¤ºï¼ææ 坿å°çç©æï¼"); return; } this.ucBtnPrintAll1.rptType = "rpt_Xsth"; this.ucBtnPrintAll1.mxList = lst; }; #endregion @@ -283,6 +325,8 @@ setSrm(); }; } /// <summary> /// æå° /// </summary> DevApp/Gs.DevApp/Gs.DevApp.csproj
@@ -1274,6 +1274,12 @@ <Compile Include="UserControl\SelectSrm.Designer.cs"> <DependentUpon>SelectSrm.cs</DependentUpon> </Compile> <Compile Include="UserControl\UcBtnPrintAll.cs"> <SubType>UserControl</SubType> </Compile> <Compile Include="UserControl\UcBtnPrintAll.Designer.cs"> <DependentUpon>UcBtnPrintAll.cs</DependentUpon> </Compile> <Compile Include="UserControl\UcCheckFlow.cs"> <SubType>UserControl</SubType> </Compile> @@ -2171,6 +2177,9 @@ <EmbeddedResource Include="UserControl\SelectSrm.resx"> <DependentUpon>SelectSrm.cs</DependentUpon> </EmbeddedResource> <EmbeddedResource Include="UserControl\UcBtnPrintAll.resx"> <DependentUpon>UcBtnPrintAll.cs</DependentUpon> </EmbeddedResource> <EmbeddedResource Include="UserControl\UcCheckFlow.resx"> <DependentUpon>UcCheckFlow.cs</DependentUpon> </EmbeddedResource> DevApp/Gs.DevApp/UserControl/UcBtnPrint.cs
@@ -292,8 +292,8 @@ report.RegisterData(ds); report.Print(); //2025-10-20å ä¸éæ¾ // report.Dispose(); // report.ShowPrepared(); //report.Dispose(); //report.ShowPrepared(); } else { DevApp/Gs.DevApp/UserControl/UcBtnPrintAll.Designer.cs
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,59 @@ namespace Gs.DevApp.UserControl { partial class UcBtnPrintAll { /// <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 Component 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.simpleButton1 = new DevExpress.XtraEditors.SimpleButton(); this.SuspendLayout(); // // simpleButton1 // this.simpleButton1.Dock = System.Windows.Forms.DockStyle.Fill; this.simpleButton1.Location = new System.Drawing.Point(0, 0); this.simpleButton1.Name = "simpleButton1"; this.simpleButton1.Size = new System.Drawing.Size(150, 39); this.simpleButton1.TabIndex = 0; this.simpleButton1.Text = "æå°æææç»"; this.simpleButton1.Click += new System.EventHandler(this.simpleButton1_Click); // // UcBtnPrintAll // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.simpleButton1); this.Name = "UcBtnPrintAll"; this.Size = new System.Drawing.Size(150, 39); this.ResumeLayout(false); } #endregion private DevExpress.XtraEditors.SimpleButton simpleButton1; } } DevApp/Gs.DevApp/UserControl/UcBtnPrintAll.cs
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,133 @@ using DevExpress.Utils.DirectXPaint; using DevExpress.XtraEditors; using Gs.DevApp.ToolBox; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; namespace Gs.DevApp.UserControl { public partial class UcBtnPrintAll : DevExpress.XtraEditors.XtraUserControl { public UcBtnPrintAll() { InitializeComponent(); } /// <summary> /// æå° /// </summary> public event EventHandler btnPrintClick; public string rptType { get; set; } public List<dynamic> mxList { get; set; } private void simpleButton1_Click(object sender, EventArgs e) { if (btnPrintClick != null) btnPrintClick(this, e); else return; if (string.IsNullOrEmpty(rptType)) { return; } if (mxList.Count<=0) { return; } int rowsCount = 0; foreach (dynamic obj in mxList) { string guid = obj.guid.ToString(); string psnQty = obj.kdy.ToString(); if (string.IsNullOrEmpty(psnQty)) { continue; } if (psnQty == "0") { continue; } string rptParameter = rptType + "{" + guid//å ³èä¸»é® + "," + "" + "," + 0//使° + "," + 1//å¼ æ° + "," + psnQty//æ¯å¼ æ¡ç æ°éï¼ç®åçäºç³è¯·é + "}"; var _obj = new { rptParameter = rptParameter, guid = guid, isDesign = 0 }; try { var strJson = UtilityHelper.HttpPost("", "Report/GetRptData", JsonConvert.SerializeObject(_obj)); var _job = JObject.Parse(strJson); var rtnCode = _job["rtnCode"].ToString(); if (int.Parse(rtnCode) > 0) { //æ¨¡æ¿ var report = new FastReport.Report(); var buffer = (byte[])_job["rtnData"]["reportTemplateData"]; using (var Stream = new MemoryStream(buffer)) { report.Load(Stream); } //主表 var array = new JArray(); foreach (var a in _job["rtnData"]["zb"]) array.Add(a); var _zb = JsonConvert.DeserializeObject<DataTable>(array.ToString()); _zb.TableName = "zb"; //æç»è¡¨1 var array1 = new JArray(); foreach (var a in _job["rtnData"]["mx1"]) array1.Add(a); var _mx1 = JsonConvert.DeserializeObject<DataTable>(array1.ToString()); _mx1.TableName = "mx1"; //æç»è¡¨2 var array2 = new JArray(); foreach (var a in _job["rtnData"]["mx2"]) array2.Add(a); var _mx2 = JsonConvert.DeserializeObject<DataTable>(array2.ToString()); _mx2.TableName = "mx2"; //å å°æ°æ®éä¸ var ds = new DataSet(); ds.Tables.Add(_zb); ds.Tables.Add(_mx1); ds.Tables.Add(_mx2); report.RegisterData(ds); report.PrintSettings.ShowDialog = false; report.Print(); report.PrintSettings.ShowDialog = false; report.Dispose(); rowsCount++; } else { } } catch (Exception ex) { } Thread.Sleep(50); } if (rowsCount > 0) MsgHelper.ShowInformation("æç¤ºï¼æä½æåï¼å ±æå°" + rowsCount.ToString() + "å¼ ï¼"); else MsgHelper.ShowError("æç¤ºï¼ææ 坿å°ç©æï¼"); } } } DevApp/Gs.DevApp/UserControl/UcBtnPrintAll.resx
¶Ô±ÈÐÂÎļþ @@ -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>