optimized

This commit is contained in:
2026-03-29 16:05:52 +08:00
parent ca8d1238c4
commit b3cec3c133
10 changed files with 143 additions and 98 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -3,20 +3,24 @@
"WorkspaceRootPath": "C:\\Users\\Administrator\\projects\\hiddencode_project\\", "WorkspaceRootPath": "C:\\Users\\Administrator\\projects\\hiddencode_project\\",
"Documents": [ "Documents": [
{ {
"AbsoluteMoniker": "D:0:0:{0F7883F6-1A56-4AAF-A6B9-8BE2923FC248}|client\\Writer\\Writer.csproj|c:\\users\\administrator\\projects\\hiddencode_project\\client\\writer\\writer.csproj||{04B8AB82-A572-4FEF-95CE-5222444B6B64}|", "AbsoluteMoniker": "D:0:0:{0F7883F6-1A56-4AAF-A6B9-8BE2923FC248}|client\\Writer\\Writer.csproj|C:\\Users\\Administrator\\projects\\hiddencode_project\\client\\writer\\mainform.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form",
"RelativeMoniker": "D:0:0:{0F7883F6-1A56-4AAF-A6B9-8BE2923FC248}|client\\Writer\\Writer.csproj|solutionrelative:client\\writer\\writer.csproj||{04B8AB82-A572-4FEF-95CE-5222444B6B64}|" "RelativeMoniker": "D:0:0:{0F7883F6-1A56-4AAF-A6B9-8BE2923FC248}|client\\Writer\\Writer.csproj|solutionrelative:client\\writer\\mainform.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form"
},
{
"AbsoluteMoniker": "D:0:0:{724B208D-AD79-4A98-80AC-288B296B0A7C}|client\\Reader\\Reader.csproj|C:\\Users\\Administrator\\projects\\hiddencode_project\\client\\reader\\mainform.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form",
"RelativeMoniker": "D:0:0:{724B208D-AD79-4A98-80AC-288B296B0A7C}|client\\Reader\\Reader.csproj|solutionrelative:client\\reader\\mainform.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form"
}, },
{ {
"AbsoluteMoniker": "D:0:0:{0F7883F6-1A56-4AAF-A6B9-8BE2923FC248}|client\\Writer\\Writer.csproj|c:\\users\\administrator\\projects\\hiddencode_project\\client\\writer\\mainform.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", "AbsoluteMoniker": "D:0:0:{0F7883F6-1A56-4AAF-A6B9-8BE2923FC248}|client\\Writer\\Writer.csproj|c:\\users\\administrator\\projects\\hiddencode_project\\client\\writer\\mainform.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{0F7883F6-1A56-4AAF-A6B9-8BE2923FC248}|client\\Writer\\Writer.csproj|solutionrelative:client\\writer\\mainform.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" "RelativeMoniker": "D:0:0:{0F7883F6-1A56-4AAF-A6B9-8BE2923FC248}|client\\Writer\\Writer.csproj|solutionrelative:client\\writer\\mainform.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
}, },
{ {
"AbsoluteMoniker": "D:0:0:{0F7883F6-1A56-4AAF-A6B9-8BE2923FC248}|client\\Writer\\Writer.csproj|c:\\users\\administrator\\projects\\hiddencode_project\\client\\writer\\mainform.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form", "AbsoluteMoniker": "D:0:0:{0F7883F6-1A56-4AAF-A6B9-8BE2923FC248}|client\\Writer\\Writer.csproj|c:\\users\\administrator\\projects\\hiddencode_project\\client\\writer\\mainform.designer.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{0F7883F6-1A56-4AAF-A6B9-8BE2923FC248}|client\\Writer\\Writer.csproj|solutionrelative:client\\writer\\mainform.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form" "RelativeMoniker": "D:0:0:{0F7883F6-1A56-4AAF-A6B9-8BE2923FC248}|client\\Writer\\Writer.csproj|solutionrelative:client\\writer\\mainform.designer.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
}, },
{ {
"AbsoluteMoniker": "D:0:0:{724B208D-AD79-4A98-80AC-288B296B0A7C}|client\\Reader\\Reader.csproj|c:\\users\\administrator\\projects\\hiddencode_project\\client\\reader\\mainform.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form", "AbsoluteMoniker": "D:0:0:{0F7883F6-1A56-4AAF-A6B9-8BE2923FC248}|client\\Writer\\Writer.csproj|c:\\users\\administrator\\projects\\hiddencode_project\\client\\writer\\writer.csproj||{04B8AB82-A572-4FEF-95CE-5222444B6B64}|",
"RelativeMoniker": "D:0:0:{724B208D-AD79-4A98-80AC-288B296B0A7C}|client\\Reader\\Reader.csproj|solutionrelative:client\\reader\\mainform.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form" "RelativeMoniker": "D:0:0:{0F7883F6-1A56-4AAF-A6B9-8BE2923FC248}|client\\Writer\\Writer.csproj|solutionrelative:client\\writer\\writer.csproj||{04B8AB82-A572-4FEF-95CE-5222444B6B64}|"
} }
], ],
"DocumentGroupContainers": [ "DocumentGroupContainers": [
@@ -26,11 +30,24 @@
"DocumentGroups": [ "DocumentGroups": [
{ {
"DockedWidth": 200, "DockedWidth": 200,
"SelectedChildIndex": 0, "SelectedChildIndex": 3,
"Children": [ "Children": [
{ {
"$type": "Document", "$type": "Document",
"DocumentIndex": 0, "DocumentIndex": 3,
"Title": "MainForm.Designer.cs",
"DocumentMoniker": "C:\\Users\\Administrator\\projects\\hiddencode_project\\client\\Writer\\MainForm.Designer.cs",
"RelativeDocumentMoniker": "client\\Writer\\MainForm.Designer.cs",
"ToolTip": "C:\\Users\\Administrator\\projects\\hiddencode_project\\client\\Writer\\MainForm.Designer.cs",
"RelativeToolTip": "client\\Writer\\MainForm.Designer.cs",
"ViewState": "AQIAAAAAAAAAAAAAAAAAAAQAAAAIAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2026-03-29T07:47:48.828Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 4,
"Title": "Writer", "Title": "Writer",
"DocumentMoniker": "C:\\Users\\Administrator\\projects\\hiddencode_project\\client\\Writer\\Writer.csproj", "DocumentMoniker": "C:\\Users\\Administrator\\projects\\hiddencode_project\\client\\Writer\\Writer.csproj",
"RelativeDocumentMoniker": "client\\Writer\\Writer.csproj", "RelativeDocumentMoniker": "client\\Writer\\Writer.csproj",
@@ -42,20 +59,20 @@
}, },
{ {
"$type": "Document", "$type": "Document",
"DocumentIndex": 1, "DocumentIndex": 2,
"Title": "MainForm.cs", "Title": "MainForm.cs",
"DocumentMoniker": "C:\\Users\\Administrator\\projects\\hiddencode_project\\client\\Writer\\MainForm.cs", "DocumentMoniker": "C:\\Users\\Administrator\\projects\\hiddencode_project\\client\\Writer\\MainForm.cs",
"RelativeDocumentMoniker": "client\\Writer\\MainForm.cs", "RelativeDocumentMoniker": "client\\Writer\\MainForm.cs",
"ToolTip": "C:\\Users\\Administrator\\projects\\hiddencode_project\\client\\Writer\\MainForm.cs", "ToolTip": "C:\\Users\\Administrator\\projects\\hiddencode_project\\client\\Writer\\MainForm.cs",
"RelativeToolTip": "client\\Writer\\MainForm.cs", "RelativeToolTip": "client\\Writer\\MainForm.cs",
"ViewState": "AQIAAAAAAAAAAAAAAAAAADEAAAAQAAAA", "ViewState": "AQIAAAEAAAAAAAAAAAAvwBMAAAAMAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2026-03-29T03:31:15.496Z", "WhenOpened": "2026-03-29T03:31:15.496Z",
"EditorCaption": "" "EditorCaption": ""
}, },
{ {
"$type": "Document", "$type": "Document",
"DocumentIndex": 2, "DocumentIndex": 0,
"Title": "MainForm.cs [\u8BBE\u8BA1]", "Title": "MainForm.cs [\u8BBE\u8BA1]",
"DocumentMoniker": "C:\\Users\\Administrator\\projects\\hiddencode_project\\client\\Writer\\MainForm.cs", "DocumentMoniker": "C:\\Users\\Administrator\\projects\\hiddencode_project\\client\\Writer\\MainForm.cs",
"RelativeDocumentMoniker": "client\\Writer\\MainForm.cs", "RelativeDocumentMoniker": "client\\Writer\\MainForm.cs",
@@ -67,7 +84,7 @@
}, },
{ {
"$type": "Document", "$type": "Document",
"DocumentIndex": 3, "DocumentIndex": 1,
"Title": "MainForm.cs [\u8BBE\u8BA1]", "Title": "MainForm.cs [\u8BBE\u8BA1]",
"DocumentMoniker": "C:\\Users\\Administrator\\projects\\hiddencode_project\\client\\Reader\\MainForm.cs", "DocumentMoniker": "C:\\Users\\Administrator\\projects\\hiddencode_project\\client\\Reader\\MainForm.cs",
"RelativeDocumentMoniker": "client\\Reader\\MainForm.cs", "RelativeDocumentMoniker": "client\\Reader\\MainForm.cs",

View File

@@ -14,73 +14,101 @@ namespace Writer
private void InitializeComponent() private void InitializeComponent()
{ {
this.txtFile = new System.Windows.Forms.TextBox(); txtFile = new TextBox();
this.btnBrowse = new System.Windows.Forms.Button(); btnBrowse = new Button();
this.txtUpload = new System.Windows.Forms.TextBox(); txtUpload = new TextBox();
this.txtDownload = new System.Windows.Forms.TextBox(); txtDownload = new TextBox();
this.lblFile = new System.Windows.Forms.Label(); lblFile = new Label();
this.lblUpload = new System.Windows.Forms.Label(); lblUpload = new Label();
this.lblDownload = new System.Windows.Forms.Label(); lblDownload = new Label();
this.btnWrite = new System.Windows.Forms.Button(); btnWrite = new Button();
this.SuspendLayout(); SuspendLayout();
//
// txtFile // txtFile
this.txtFile.Location = new System.Drawing.Point(12, 30); //
this.txtFile.Name = "txtFile"; txtFile.Location = new Point(12, 30);
this.txtFile.Size = new System.Drawing.Size(360, 23); txtFile.Name = "txtFile";
txtFile.Size = new Size(360, 23);
txtFile.TabIndex = 0;
//
// btnBrowse // btnBrowse
this.btnBrowse.Location = new System.Drawing.Point(378, 28); //
this.btnBrowse.Name = "btnBrowse"; btnBrowse.Location = new Point(378, 28);
this.btnBrowse.Size = new System.Drawing.Size(75, 25); btnBrowse.Name = "btnBrowse";
this.btnBrowse.Text = "浏览"; btnBrowse.Size = new Size(75, 25);
this.btnBrowse.UseVisualStyleBackColor = true; btnBrowse.TabIndex = 1;
this.btnBrowse.Click += new System.EventHandler(this.btnBrowse_Click); btnBrowse.Text = "浏览";
btnBrowse.UseVisualStyleBackColor = true;
btnBrowse.Click += btnBrowse_Click;
//
// txtUpload // txtUpload
this.txtUpload.Location = new System.Drawing.Point(12, 80); //
this.txtUpload.Name = "txtUpload"; txtUpload.Location = new Point(12, 80);
this.txtUpload.Size = new System.Drawing.Size(441, 23); txtUpload.Name = "txtUpload";
txtUpload.Size = new Size(441, 23);
txtUpload.TabIndex = 2;
//
// txtDownload // txtDownload
this.txtDownload.Location = new System.Drawing.Point(12, 130); //
this.txtDownload.Name = "txtDownload"; txtDownload.Location = new Point(12, 130);
this.txtDownload.Size = new System.Drawing.Size(441, 23); txtDownload.Name = "txtDownload";
// labels txtDownload.Size = new Size(441, 23);
this.lblFile.AutoSize = true; txtDownload.TabIndex = 3;
this.lblFile.Location = new System.Drawing.Point(12, 12); //
this.lblFile.Name = "lblFile"; // lblFile
this.lblFile.Size = new System.Drawing.Size(59, 15); //
this.lblFile.Text = "目标文件"; lblFile.AutoSize = true;
this.lblUpload.AutoSize = true; lblFile.Location = new Point(12, 12);
this.lblUpload.Location = new System.Drawing.Point(12, 62); lblFile.Name = "lblFile";
this.lblUpload.Name = "lblUpload"; lblFile.Size = new Size(56, 17);
this.lblUpload.Size = new System.Drawing.Size(83, 15); lblFile.TabIndex = 4;
this.lblUpload.Text = "上传暗码(上传)"; lblFile.Text = "目标文件";
this.lblDownload.AutoSize = true; //
this.lblDownload.Location = new System.Drawing.Point(12, 112); // lblUpload
this.lblDownload.Name = "lblDownload"; //
this.lblDownload.Size = new System.Drawing.Size(83, 15); lblUpload.AutoSize = true;
this.lblDownload.Text = "下载暗码(下载)"; 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 // btnWrite
this.btnWrite.Location = new System.Drawing.Point(378, 170); //
this.btnWrite.Name = "btnWrite"; btnWrite.Location = new Point(378, 170);
this.btnWrite.Size = new System.Drawing.Size(75, 27); btnWrite.Name = "btnWrite";
this.btnWrite.Text = "开始写入"; btnWrite.Size = new Size(75, 27);
this.btnWrite.UseVisualStyleBackColor = true; btnWrite.TabIndex = 7;
this.btnWrite.Click += new System.EventHandler(this.btnWrite_Click); btnWrite.Text = "开始写入";
btnWrite.UseVisualStyleBackColor = true;
btnWrite.Click += btnWrite_Click;
//
// MainForm // MainForm
this.ClientSize = new System.Drawing.Size(465, 209); //
this.Controls.Add(this.txtFile); ClientSize = new Size(465, 209);
this.Controls.Add(this.btnBrowse); Controls.Add(txtFile);
this.Controls.Add(this.txtUpload); Controls.Add(btnBrowse);
this.Controls.Add(this.txtDownload); Controls.Add(txtUpload);
this.Controls.Add(this.lblFile); Controls.Add(txtDownload);
this.Controls.Add(this.lblUpload); Controls.Add(lblFile);
this.Controls.Add(this.lblDownload); Controls.Add(lblUpload);
this.Controls.Add(this.btnWrite); Controls.Add(lblDownload);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; Controls.Add(btnWrite);
this.MaximizeBox = false; FormBorderStyle = FormBorderStyle.FixedDialog;
this.Name = "MainForm"; MaximizeBox = false;
this.Text = "Writer - 写入暗码"; Name = "MainForm";
this.ResumeLayout(false); Text = "二一教育暗码写入工具1.0.0.5";
this.PerformLayout(); ResumeLayout(false);
PerformLayout();
} }
private System.Windows.Forms.TextBox txtFile; private System.Windows.Forms.TextBox txtFile;

View File

@@ -1,17 +1,17 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<root> <root>
<!-- <!--
Microsoft ResX Schema Microsoft ResX Schema
Version 2.0 Version 2.0
The primary goals of this format is to allow a simple XML format The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes various data types are done through the TypeConverter classes
associated with the data types. associated with the data types.
Example: Example:
... ado.net/XML headers & schema ... ... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader> <resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</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> <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment> <comment>This is a comment</comment>
</data> </data>
There are any number of "resheader" rows that contain simple There are any number of "resheader" rows that contain simple
name/value pairs. name/value pairs.
Each data row contains a name, and value. The row also contains a Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture. text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the Classes that don't support this are serialized and stored with the
mimetype set. mimetype set.
The mimetype is used for serialized objects, and tells the The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly: extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below. read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64 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 : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding. : and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64 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 : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding. : and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64 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 : using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding. : and then encoded with base64 encoding.
--> -->