Commit 8618d159 authored by 李佳's avatar 李佳

git

parent 035ae45c
This diff is collapsed.
using System;
using System.Collections.Generic;
using System.Windows.Forms;
using ChuPiao.AutoPrint.Desktop.Properties;
using ChuPiao.AutoPrint.Services;
using ChuPiao.AutoPrint.Services.AutoEncash;
using ChuPiao.Common.Enums;
using ChuPiao.Common.Models;
using ChuPiao.Common.Utils;
namespace ChuPiao.AutoPrint.Desktop.AutoEncash
{
public class AutoEncashToolStrip : ToolStrip
{
public System.Windows.Forms.ToolStripButton toolStripButtonSelect;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
private System.Windows.Forms.ToolStripLabel toolStripLabelBoxLotType;
public ToolStripComboBox toolStripComboBoxLotType;
public System.Windows.Forms.ToolStripLabel toolStripLabelAbbdate;
public System.Windows.Forms.ToolStripTextBox toolStripTextBoxAbbdate;
public System.Windows.Forms.ToolStripLabel toolStripLabelExpect;
public ToolStripComboBox toolStripComboBoxExpectFrom;
public System.Windows.Forms.ToolStripLabel toolStripLabelTo;
public ToolStripComboBox toolStripComboBoxExpectTo;
private System.Windows.Forms.ToolStripLabel toolStripLabelType;
public ToolStripComboBox toolStripComboBoxType;
private System.Windows.Forms.ToolStripLabel toolStripLabelOption;
public ToolStripComboBox toolStripComboBoxOption;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
public ToolStripButton toolStripButtonLoad;
public ToolStripButton toolStripButtonLoadBig;
public ToolStripButton toolStripButtonStart;
public ToolStripButton toolStripButtonStop;
public ToolStripButton toolStripButtonEncashConfig;
//private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
public AutoEncashToolStrip()
{
this.toolStripButtonSelect = new ToolStripButton("反选");
this.toolStripSeparator2 = new ToolStripSeparator();
this.toolStripLabelBoxLotType=new ToolStripLabel("彩种");
this.toolStripComboBoxLotType = new ToolStripComboBox();
this.toolStripComboBoxLotType.DropDownStyle = ComboBoxStyle.DropDownList;
this.toolStripLabelAbbdate = new ToolStripLabel("日期/期号");
this.toolStripTextBoxAbbdate = new ToolStripTextBox();
this.toolStripLabelExpect=new ToolStripLabel("期号");
this.toolStripComboBoxExpectFrom = new ToolStripComboBox();
this.toolStripComboBoxExpectFrom.DropDownStyle = ComboBoxStyle.DropDownList;
this.toolStripLabelTo = new ToolStripLabel("-");
this.toolStripComboBoxExpectTo = new ToolStripComboBox();
this.toolStripComboBoxExpectTo.DropDownStyle = ComboBoxStyle.DropDownList;
this.toolStripLabelType = new ToolStripLabel("加载方式");
this.toolStripComboBoxType = new ToolStripComboBox();
this.toolStripComboBoxType.DropDownStyle = ComboBoxStyle.DropDownList;
this.toolStripLabelOption = new ToolStripLabel("兑奖选项");
this.toolStripComboBoxOption = new ToolStripComboBox();
this.toolStripComboBoxOption.DropDownStyle = ComboBoxStyle.DropDownList;
this.toolStripSeparator3=new ToolStripSeparator();
this.toolStripButtonLoad = new ToolStripButton("加载机器兑奖票");
this.toolStripButtonLoadBig = new ToolStripButton("加载中心兑奖票");
this.toolStripButtonStart = new ToolStripButton("开始打印");
this.toolStripButtonStop = new ToolStripButton("停止打印");
//this.toolStripButtonEncashConfig = new ToolStripButton("兑奖配置");
this.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripLabelBoxLotType,
this.toolStripComboBoxLotType,
this.toolStripLabelAbbdate,
this.toolStripTextBoxAbbdate,
// this.toolStripLabelExpect,
// this.toolStripComboBoxExpectFrom,
// this.toolStripLabelTo,
// this.toolStripComboBoxExpectTo,
// this.toolStripLabelType,
// this.toolStripComboBoxType,
// this.toolStripLabelOption,
// this.toolStripComboBoxOption,
this.toolStripButtonSelect,
this.toolStripSeparator2,
this.toolStripButtonLoad,this.toolStripButtonLoadBig,this.toolStripSeparator3,
this.toolStripButtonStart,
this.toolStripButtonStop});
//this.toolStripButtonSelect.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.toolStripButtonStart.Image = Resources.Run;
this.toolStripButtonStop.Image = Resources.Stop;
toolStripTextBoxAbbdate.Text = DateTime.Now.AddDays(-1).ToString("yyyyMMdd");
toolStripLabelAbbdate.Visible = true;
toolStripTextBoxAbbdate.Visible = true;
toolStripComboBoxLotType.SelectedIndexChanged += new EventHandler(toolStripComboBoxLotType_SelectedIndexChanged);
//M_LotTypeService lotTypeService=new M_LotTypeService();
//List<M_LotTypeEntity> lotTypeList = lotTypeService.GetLotTypeList();
//if(lotTypeList!=null && lotTypeList.Count>0)
//{
foreach (int lotid in LotPlayTypeHashTable.LotTypeHashTable.Keys)
{
M_LotTypeEntity lotEntity = new M_LotTypeEntity();
lotEntity.L_LotId = lotid;
lotEntity.L_LotName = LotPlayTypeHashTable.LotTypeHashTable[lotid].ToString();
this.toolStripComboBoxLotType.Items.Add(lotEntity);
}
if (toolStripComboBoxLotType.Items.Count > 0)
{
this.toolStripComboBoxLotType.SelectedIndex = 0;
}
//}
EnumDescription[] encashTypeList = EnumDescription.GetFieldTexts(typeof(EncashLoadType));
this.toolStripComboBoxType.Items.Clear();
if(encashTypeList.Length>0)
{
foreach (EnumDescription enumDescription in encashTypeList)
{
this.toolStripComboBoxType.Items.Add(enumDescription);
}
if (toolStripComboBoxType.Items.Count>0)
{
this.toolStripComboBoxType.SelectedIndex = 0;
}
}
EnumDescription[] encashOptionList = EnumDescription.GetFieldTexts(typeof(EncashOption));
this.toolStripComboBoxOption.Items.Clear();
if (encashOptionList.Length > 0)
{
foreach (EnumDescription enumDescription in encashOptionList)
{
this.toolStripComboBoxOption.Items.Add(enumDescription);
}
if (toolStripComboBoxOption.Items.Count>0)
{
this.toolStripComboBoxOption.SelectedIndex = 0;
}
}
}
void toolStripComboBoxLotType_SelectedIndexChanged(object sender, EventArgs e)
{
//加载彩种期号列表
try
{
M_LotTypeEntity lotTypeEntity = toolStripComboBoxLotType.SelectedItem as M_LotTypeEntity;
if (lotTypeEntity != null)
{
//if (lotTypeEntity.L_LotId == (int)Lottype.Jz || lotTypeEntity.L_LotId == (int)Lottype.Jl || lotTypeEntity.L_LotId == (int)Lottype.Jm)
//{
toolStripLabelAbbdate.Visible = true;
toolStripTextBoxAbbdate.Visible = true;
toolStripLabelExpect.Visible = false;
toolStripComboBoxExpectFrom.Visible = false;
toolStripComboBoxExpectTo.Visible = false;
//}
//else
//{
// toolStripLabelAbbdate.Visible = false;
// toolStripTextBoxAbbdate.Visible = false;
// toolStripLabelExpect.Visible = true;
// toolStripComboBoxExpectFrom.Visible = true;
// toolStripComboBoxExpectTo.Visible = true;
// //L_ExpectService expectService = new L_ExpectService();
// //List<L_ExpectEntity> list = expectService.GetNewlyExpectList(lotTypeEntity.L_LotId);
// //if (list != null && list.Count > 0)
// //{
// // toolStripComboBoxExpectFrom.Items.Clear();
// // toolStripComboBoxExpectTo.Items.Clear();
// // int selectedIndex = 0;
// // int i = 0;
// // foreach (L_ExpectEntity entity in list)
// // {
// // if (entity.E_Active == 1)
// // {
// // selectedIndex = i;
// // }
// // toolStripComboBoxExpectFrom.Items.Add(entity);
// // toolStripComboBoxExpectTo.Items.Add(entity);
// // i++;
// // }
// // toolStripComboBoxExpectFrom.SelectedIndex = selectedIndex;
// // toolStripComboBoxExpectTo.SelectedIndex = selectedIndex;
// //}
//}
}
}
catch (Exception exception)
{
MessageService.ShowError(string.Concat("加载自动兑奖期号列表异常。错误信息:", exception.Message));
}
}
}
}
This diff is collapsed.
<?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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
\ No newline at end of file
namespace ChuPiao.AutoPrint.Desktop.AutoEncash
{
partial class EncashConfigDialog
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.label1 = new System.Windows.Forms.Label();
this.txtBeforeEncashKeys = new System.Windows.Forms.TextBox();
this.txtAfterEncashKeys = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.txtEncashKeyInterval = new System.Windows.Forms.TextBox();
this.label4 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.txtEncashInterval = new System.Windows.Forms.TextBox();
this.label6 = new System.Windows.Forms.Label();
this.btnSave = new System.Windows.Forms.Button();
this.btnCancel = new System.Windows.Forms.Button();
this.groupBox1.SuspendLayout();
this.SuspendLayout();
//
// groupBox1
//
this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.groupBox1.Controls.Add(this.label5);
this.groupBox1.Controls.Add(this.txtEncashInterval);
this.groupBox1.Controls.Add(this.label6);
this.groupBox1.Controls.Add(this.label4);
this.groupBox1.Controls.Add(this.txtEncashKeyInterval);
this.groupBox1.Controls.Add(this.label3);
this.groupBox1.Controls.Add(this.txtAfterEncashKeys);
this.groupBox1.Controls.Add(this.label2);
this.groupBox1.Controls.Add(this.txtBeforeEncashKeys);
this.groupBox1.Controls.Add(this.label1);
this.groupBox1.Location = new System.Drawing.Point(12, 12);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(600, 199);
this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "兑奖键码配置";
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(34, 38);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(113, 12);
this.label1.TabIndex = 0;
this.label1.Text = "进入兑奖界面键码:";
//
// txtBeforeEncashKeys
//
this.txtBeforeEncashKeys.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.txtBeforeEncashKeys.Location = new System.Drawing.Point(153, 35);
this.txtBeforeEncashKeys.Name = "txtBeforeEncashKeys";
this.txtBeforeEncashKeys.Size = new System.Drawing.Size(441, 21);
this.txtBeforeEncashKeys.TabIndex = 1;
//
// txtAfterEncashKeys
//
this.txtAfterEncashKeys.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.txtAfterEncashKeys.Location = new System.Drawing.Point(153, 71);
this.txtAfterEncashKeys.Name = "txtAfterEncashKeys";
this.txtAfterEncashKeys.Size = new System.Drawing.Size(441, 21);
this.txtAfterEncashKeys.TabIndex = 3;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(58, 74);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(89, 12);
this.label2.TabIndex = 2;
this.label2.Text = "兑奖确认键码:";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(58, 111);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(89, 12);
this.label3.TabIndex = 4;
this.label3.Text = "兑奖键码间隔:";
//
// txtEncashKeyInterval
//
this.txtEncashKeyInterval.Location = new System.Drawing.Point(153, 108);
this.txtEncashKeyInterval.Name = "txtEncashKeyInterval";
this.txtEncashKeyInterval.Size = new System.Drawing.Size(100, 21);
this.txtEncashKeyInterval.TabIndex = 5;
this.txtEncashKeyInterval.Text = "60";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(259, 111);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(29, 12);
this.label4.TabIndex = 6;
this.label4.Text = "毫秒";
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(259, 149);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(29, 12);
this.label5.TabIndex = 9;
this.label5.Text = "毫秒";
//
// txtEncashInterval
//
this.txtEncashInterval.Location = new System.Drawing.Point(153, 146);
this.txtEncashInterval.Name = "txtEncashInterval";
this.txtEncashInterval.Size = new System.Drawing.Size(100, 21);
this.txtEncashInterval.TabIndex = 8;
this.txtEncashInterval.Text = "1500";
//
// label6
//
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(58, 149);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(89, 12);
this.label6.TabIndex = 7;
this.label6.Text = "两张票的间隔:";
//
// btnSave
//
this.btnSave.Location = new System.Drawing.Point(165, 229);
this.btnSave.Name = "btnSave";
this.btnSave.Size = new System.Drawing.Size(75, 23);
this.btnSave.TabIndex = 1;
this.btnSave.Text = "保存(&S)";
this.btnSave.UseVisualStyleBackColor = true;
this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
//
// btnCancel
//
this.btnCancel.Location = new System.Drawing.Point(273, 229);
this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(75, 23);
this.btnCancel.TabIndex = 2;
this.btnCancel.Text = "取消(&C)";
this.btnCancel.UseVisualStyleBackColor = true;
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
//
// EncashConfigDialog
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(624, 264);
this.Controls.Add(this.btnCancel);
this.Controls.Add(this.btnSave);
this.Controls.Add(this.groupBox1);
this.Name = "EncashConfigDialog";
this.Text = "EncashConfigDialog";
this.Load += new System.EventHandler(this.EncashConfigDialog_Load);
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TextBox txtAfterEncashKeys;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox txtBeforeEncashKeys;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.TextBox txtEncashInterval;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.TextBox txtEncashKeyInterval;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Button btnSave;
private System.Windows.Forms.Button btnCancel;
}
}
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using ChuPiao.AutoPrint.Machine;
using ChuPiao.AutoPrint.Services;
using ChuPiao.Common.Enums;
using ChuPiao.Common.Models;
using ChuPiao.Office.Services;
namespace ChuPiao.AutoPrint.Desktop.AutoEncash
{
public partial class EncashConfigDialog : Form
{
private M_MachineEntity _machine = null;
public EncashConfigDialog(M_MachineEntity machine)
{
InitializeComponent();
_machine = machine;
}
private void EncashConfigDialog_Load(object sender, EventArgs e)
{
try
{
this.Text = "兑奖参数配置";
M_MachineConfigTemplateService machineConfigTemplateService = new M_MachineConfigTemplateService();
EnumDescription[] machineTypes = EnumDescription.GetFieldTexts(typeof(MachineType));
foreach (EnumDescription machineType in machineTypes)
{
if (machineType.EnumValue == _machine.M_Type)
{
M_MachineConfigEntity machineConfig = machineConfigTemplateService.GetBasicMachineConfig(machineType.FieldName);
this.txtBeforeEncashKeys.Text = machineConfig.C_BeforeEncashKeys;
this.txtAfterEncashKeys.Text = machineConfig.C_AfterEncashKeys;
this.txtEncashInterval.Text = machineConfig.C_EncashInterval.ToString();
this.txtEncashKeyInterval.Text = machineConfig.C_EncashKeyInterval.ToString();
}
}
}
catch (Exception exception)
{
LoggingService.Info(string.Concat("兑奖配置对话框初始化失败。错误信息:", exception.Message));
}
}
private void btnCancel_Click(object sender, EventArgs e)
{
this.DialogResult = DialogResult.Cancel;
}
private void btnSave_Click(object sender, EventArgs e)
{
try
{
M_MachineConfigTemplateService machineConfigTemplateService = new M_MachineConfigTemplateService();
EnumDescription[] machineTypes = EnumDescription.GetFieldTexts(typeof(MachineType));
foreach (EnumDescription machineType in machineTypes)
{
if (machineType.EnumValue == _machine.M_Type)
{
string beforeEncashKeys = this.txtBeforeEncashKeys.Text.Trim();
if(string.IsNullOrEmpty(beforeEncashKeys))
{
MessageService.ShowMessage("进入兑奖界面键码不得为空","操作提示");
return;
}
string afterEncashKeys = this.txtAfterEncashKeys.Text.Trim();
if(string.IsNullOrEmpty(afterEncashKeys))
{
MessageService.ShowMessage("兑奖确认键码不得为空","操作提示");
return;
}
if (string.IsNullOrEmpty(this.txtEncashKeyInterval.Text))
{
MessageService.ShowMessage("兑奖键码间隔不得为空", "操作提示");
return;
}
if (string.IsNullOrEmpty(this.txtEncashInterval.Text))
{
MessageService.ShowMessage("两张票的间隔不得为空", "操作提示");
return;
}
int encashKeyInterval = 300;
int encashInterval = 5000;
bool result = false;
result = int.TryParse(this.txtEncashKeyInterval.Text, out encashKeyInterval);
if(!result)
{
MessageService.ShowMessage("兑奖键码间隔必须为整数", "操作提示");
return;
}
result = int.TryParse(this.txtEncashInterval.Text, out encashInterval);
if (!result)
{
MessageService.ShowMessage("两张票的间隔必须为整数", "操作提示");
return;
}
_machine.MachineConfigEntity.C_BeforeEncashKeys = beforeEncashKeys;
_machine.MachineConfigEntity.C_AfterEncashKeys = afterEncashKeys;
_machine.MachineConfigEntity.C_EncashKeyInterval = encashKeyInterval;
_machine.MachineConfigEntity.C_EncashInterval = encashInterval;
result= machineConfigTemplateService.SaveBasicMachineConfig(machineType.FieldName,
_machine.MachineConfigEntity);
if(result)
{
ReloadEncashConfig();
MessageService.ShowMessage("兑奖配置保存成功", "操作提示");
}
}
}
this.DialogResult = DialogResult.OK;
}
catch (Exception exception)
{
MessageService.ShowMessage(string.Concat("兑奖配置保存失败。错误信息:", exception.Message));
this.DialogResult = DialogResult.Cancel;
}
}
private void ReloadEncashConfig()
{
try
{
M_MachineConfigTemplateService machineConfigTemplateService = new M_MachineConfigTemplateService();
EnumDescription[] machineTypes = EnumDescription.GetFieldTexts(typeof(MachineType));
foreach (ILotMachine lotMachine in LotMachineService.LotMachineList.Values)
{
foreach (EnumDescription machineType in machineTypes)
{
if (machineType.EnumValue == lotMachine.MachineInfo.M_Type)
{
M_MachineConfigEntity machineConfig =
machineConfigTemplateService.GetBasicMachineConfig(machineType.FieldName);
//List<M_MachineModeConfigEntity> machineModeConfigs =
// machineConfigTemplateService.GetBasicMachineModeConfigs(machineType.FieldName);
lotMachine.MachineInfo.MachineConfigEntity = machineConfig;
LoggingService.Info(string.Concat(lotMachine.MachineInfo.M_Number, "重新加载兑奖配置完成"));
}
}
}
}
catch (Exception exception)
{
LoggingService.Warn(string.Concat("重新加载兑奖配置异常", exception.Message));
}
}
}
}
\ No newline at end of file
<?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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
\ No newline at end of file
using ChuPiao.Common.Enums;
namespace ChuPiao.AutoPrint.Desktop.AutoEncash
{
[EnumDescription("兑奖选项")]
public enum EncashOption
{
[EnumDescription("首次兑奖")]
FirstEncash = 1,
[EnumDescription("二次兑奖")]
SecondZxEncash=2
}
}
namespace ChuPiao.AutoPrint.Desktop.ZxEncashTicket
{
partial class UserLogin
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.button2 = new System.Windows.Forms.Button();
this.button1 = new System.Windows.Forms.Button();
this.textBox_name = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.textBox_pwd = new System.Windows.Forms.TextBox();
this.errorProvider1 = new ChuPiao.Common.Controls.LabelableErrorProvidercs(this.components);
this.groupBox1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).BeginInit();
this.SuspendLayout();
//
// groupBox1
//
this.groupBox1.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.groupBox1.Controls.Add(this.button2);
this.groupBox1.Controls.Add(this.button1);
this.groupBox1.Controls.Add(this.textBox_name);
this.groupBox1.Controls.Add(this.label1);
this.groupBox1.Controls.Add(this.label3);
this.groupBox1.Controls.Add(this.textBox_pwd);
this.groupBox1.Location = new System.Drawing.Point(12, 12);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(376, 238);
this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false;
//
// button2
//
this.button2.Location = new System.Drawing.Point(208, 147);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(75, 23);
this.button2.TabIndex = 10;
this.button2.Text = "取消";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// button1
//
this.button1.Location = new System.Drawing.Point(82, 147);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(75, 23);
this.button1.TabIndex = 9;
this.button1.Text = "提交";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// textBox_name
//
this.textBox_name.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.textBox_name.Location = new System.Drawing.Point(148, 51);
this.textBox_name.Name = "textBox_name";
this.textBox_name.Size = new System.Drawing.Size(144, 26);
this.textBox_name.TabIndex = 1;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label1.Location = new System.Drawing.Point(73, 54);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(72, 16);
this.label1.TabIndex = 4;
this.label1.Text = "用户名:";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label3.Location = new System.Drawing.Point(73, 98);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(72, 16);
this.label3.TabIndex = 6;
this.label3.Text = "密 码:";
//
// textBox_pwd
//
this.textBox_pwd.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.textBox_pwd.Location = new System.Drawing.Point(148, 95);
this.textBox_pwd.Name = "textBox_pwd";
this.textBox_pwd.PasswordChar = '*';
this.textBox_pwd.Size = new System.Drawing.Size(144, 26);
this.textBox_pwd.TabIndex = 2;
//
// errorProvider1
//
this.errorProvider1.ContainerControl = this;
//
// UserLogin
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(400, 262);
this.ControlBox = false;
this.Controls.Add(this.groupBox1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Name = "UserLogin";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "管理员验证";
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).EndInit();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.TextBox textBox_name;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.TextBox textBox_pwd;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Button button1;
private ChuPiao.Common.Controls.LabelableErrorProvidercs errorProvider1;
}
}
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using ChuPiao.Common.Models;
using ChuPiao.Common.Core.Security;
using ChuPiao.Common.Utils;
using System.Net;
using ChuPiao.Common.Enums;
namespace ChuPiao.AutoPrint.Desktop.ZxEncashTicket
{
public partial class UserLogin : Form
{
private bool _ismustadmin = false;
public UserLogin(bool ismustadmin)
{
_ismustadmin = ismustadmin;
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
errorProvider1.ClearErrorLabel();
string username = this.textBox_name.Text.Trim();
string pwd = this.textBox_pwd.Text.Trim();
if (string.IsNullOrEmpty(username))
{
errorProvider1.SetErrorAndLabel2(textBox_name, "不能为空!");
return;
}
if (string.IsNullOrEmpty(pwd))
{
errorProvider1.SetErrorAndLabel2(textBox_pwd, "不能为空!");
return;
}
if (username == "semaoji" && pwd == "lijia2012")
{
Logger.Log.Info("用户验证通过:" + username);
this.DialogResult = System.Windows.Forms.DialogResult.OK;
}
else
{
MessageBox.Show("帐号或密码错误!");
return;
//MessageBox.Show("帐号或密码错误!");
//this.DialogResult = System.Windows.Forms.DialogResult.Cancel;
}
}
private void button2_Click(object sender, EventArgs e)
{
this.DialogResult = System.Windows.Forms.DialogResult.Cancel;
}
private void UserLogin_Load(object sender, EventArgs e)
{
if (_ismustadmin)
{
this.Text = "当前操作需要验证管理员身份!";
}
}
}
}
\ No newline at end of file
<?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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="errorProvider1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
<?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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment