optimized
This commit is contained in:
150
client/Writer/MainForm.Designer.cs
generated
150
client/Writer/MainForm.Designer.cs
generated
@@ -14,73 +14,101 @@ namespace Writer
|
||||
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.txtFile = new System.Windows.Forms.TextBox();
|
||||
this.btnBrowse = new System.Windows.Forms.Button();
|
||||
this.txtUpload = new System.Windows.Forms.TextBox();
|
||||
this.txtDownload = new System.Windows.Forms.TextBox();
|
||||
this.lblFile = new System.Windows.Forms.Label();
|
||||
this.lblUpload = new System.Windows.Forms.Label();
|
||||
this.lblDownload = new System.Windows.Forms.Label();
|
||||
this.btnWrite = new System.Windows.Forms.Button();
|
||||
this.SuspendLayout();
|
||||
txtFile = new TextBox();
|
||||
btnBrowse = new Button();
|
||||
txtUpload = new TextBox();
|
||||
txtDownload = new TextBox();
|
||||
lblFile = new Label();
|
||||
lblUpload = new Label();
|
||||
lblDownload = new Label();
|
||||
btnWrite = new Button();
|
||||
SuspendLayout();
|
||||
//
|
||||
// txtFile
|
||||
this.txtFile.Location = new System.Drawing.Point(12, 30);
|
||||
this.txtFile.Name = "txtFile";
|
||||
this.txtFile.Size = new System.Drawing.Size(360, 23);
|
||||
//
|
||||
txtFile.Location = new Point(12, 30);
|
||||
txtFile.Name = "txtFile";
|
||||
txtFile.Size = new Size(360, 23);
|
||||
txtFile.TabIndex = 0;
|
||||
//
|
||||
// btnBrowse
|
||||
this.btnBrowse.Location = new System.Drawing.Point(378, 28);
|
||||
this.btnBrowse.Name = "btnBrowse";
|
||||
this.btnBrowse.Size = new System.Drawing.Size(75, 25);
|
||||
this.btnBrowse.Text = "浏览";
|
||||
this.btnBrowse.UseVisualStyleBackColor = true;
|
||||
this.btnBrowse.Click += new System.EventHandler(this.btnBrowse_Click);
|
||||
//
|
||||
btnBrowse.Location = new Point(378, 28);
|
||||
btnBrowse.Name = "btnBrowse";
|
||||
btnBrowse.Size = new Size(75, 25);
|
||||
btnBrowse.TabIndex = 1;
|
||||
btnBrowse.Text = "浏览";
|
||||
btnBrowse.UseVisualStyleBackColor = true;
|
||||
btnBrowse.Click += btnBrowse_Click;
|
||||
//
|
||||
// txtUpload
|
||||
this.txtUpload.Location = new System.Drawing.Point(12, 80);
|
||||
this.txtUpload.Name = "txtUpload";
|
||||
this.txtUpload.Size = new System.Drawing.Size(441, 23);
|
||||
//
|
||||
txtUpload.Location = new Point(12, 80);
|
||||
txtUpload.Name = "txtUpload";
|
||||
txtUpload.Size = new Size(441, 23);
|
||||
txtUpload.TabIndex = 2;
|
||||
//
|
||||
// txtDownload
|
||||
this.txtDownload.Location = new System.Drawing.Point(12, 130);
|
||||
this.txtDownload.Name = "txtDownload";
|
||||
this.txtDownload.Size = new System.Drawing.Size(441, 23);
|
||||
// labels
|
||||
this.lblFile.AutoSize = true;
|
||||
this.lblFile.Location = new System.Drawing.Point(12, 12);
|
||||
this.lblFile.Name = "lblFile";
|
||||
this.lblFile.Size = new System.Drawing.Size(59, 15);
|
||||
this.lblFile.Text = "目标文件";
|
||||
this.lblUpload.AutoSize = true;
|
||||
this.lblUpload.Location = new System.Drawing.Point(12, 62);
|
||||
this.lblUpload.Name = "lblUpload";
|
||||
this.lblUpload.Size = new System.Drawing.Size(83, 15);
|
||||
this.lblUpload.Text = "上传暗码(上传)";
|
||||
this.lblDownload.AutoSize = true;
|
||||
this.lblDownload.Location = new System.Drawing.Point(12, 112);
|
||||
this.lblDownload.Name = "lblDownload";
|
||||
this.lblDownload.Size = new System.Drawing.Size(83, 15);
|
||||
this.lblDownload.Text = "下载暗码(下载)";
|
||||
//
|
||||
txtDownload.Location = new Point(12, 130);
|
||||
txtDownload.Name = "txtDownload";
|
||||
txtDownload.Size = new Size(441, 23);
|
||||
txtDownload.TabIndex = 3;
|
||||
//
|
||||
// lblFile
|
||||
//
|
||||
lblFile.AutoSize = true;
|
||||
lblFile.Location = new Point(12, 12);
|
||||
lblFile.Name = "lblFile";
|
||||
lblFile.Size = new Size(56, 17);
|
||||
lblFile.TabIndex = 4;
|
||||
lblFile.Text = "目标文件";
|
||||
//
|
||||
// lblUpload
|
||||
//
|
||||
lblUpload.AutoSize = true;
|
||||
lblUpload.Location = new Point(12, 62);
|
||||
lblUpload.Name = "lblUpload";
|
||||
lblUpload.Size = new Size(88, 17);
|
||||
lblUpload.TabIndex = 5;
|
||||
lblUpload.Text = "上传暗码(上传)";
|
||||
//
|
||||
// lblDownload
|
||||
//
|
||||
lblDownload.AutoSize = true;
|
||||
lblDownload.Location = new Point(12, 112);
|
||||
lblDownload.Name = "lblDownload";
|
||||
lblDownload.Size = new Size(88, 17);
|
||||
lblDownload.TabIndex = 6;
|
||||
lblDownload.Text = "下载暗码(下载)";
|
||||
//
|
||||
// btnWrite
|
||||
this.btnWrite.Location = new System.Drawing.Point(378, 170);
|
||||
this.btnWrite.Name = "btnWrite";
|
||||
this.btnWrite.Size = new System.Drawing.Size(75, 27);
|
||||
this.btnWrite.Text = "开始写入";
|
||||
this.btnWrite.UseVisualStyleBackColor = true;
|
||||
this.btnWrite.Click += new System.EventHandler(this.btnWrite_Click);
|
||||
//
|
||||
btnWrite.Location = new Point(378, 170);
|
||||
btnWrite.Name = "btnWrite";
|
||||
btnWrite.Size = new Size(75, 27);
|
||||
btnWrite.TabIndex = 7;
|
||||
btnWrite.Text = "开始写入";
|
||||
btnWrite.UseVisualStyleBackColor = true;
|
||||
btnWrite.Click += btnWrite_Click;
|
||||
//
|
||||
// MainForm
|
||||
this.ClientSize = new System.Drawing.Size(465, 209);
|
||||
this.Controls.Add(this.txtFile);
|
||||
this.Controls.Add(this.btnBrowse);
|
||||
this.Controls.Add(this.txtUpload);
|
||||
this.Controls.Add(this.txtDownload);
|
||||
this.Controls.Add(this.lblFile);
|
||||
this.Controls.Add(this.lblUpload);
|
||||
this.Controls.Add(this.lblDownload);
|
||||
this.Controls.Add(this.btnWrite);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.MaximizeBox = false;
|
||||
this.Name = "MainForm";
|
||||
this.Text = "Writer - 写入暗码";
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
//
|
||||
ClientSize = new Size(465, 209);
|
||||
Controls.Add(txtFile);
|
||||
Controls.Add(btnBrowse);
|
||||
Controls.Add(txtUpload);
|
||||
Controls.Add(txtDownload);
|
||||
Controls.Add(lblFile);
|
||||
Controls.Add(lblUpload);
|
||||
Controls.Add(lblDownload);
|
||||
Controls.Add(btnWrite);
|
||||
FormBorderStyle = FormBorderStyle.FixedDialog;
|
||||
MaximizeBox = false;
|
||||
Name = "MainForm";
|
||||
Text = "二一教育暗码写入工具1.0.0.5";
|
||||
ResumeLayout(false);
|
||||
PerformLayout();
|
||||
}
|
||||
|
||||
private System.Windows.Forms.TextBox txtFile;
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
<?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
|
||||
|
||||
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>
|
||||
@@ -26,36 +26,36 @@
|
||||
<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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
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
|
||||
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
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
|
||||
Reference in New Issue
Block a user