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\\",
"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}|",
"RelativeMoniker": "D:0:0:{0F7883F6-1A56-4AAF-A6B9-8BE2923FC248}|client\\Writer\\Writer.csproj|solutionrelative: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\\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}",
"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",
"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:{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.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",
"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\\writer.csproj||{04B8AB82-A572-4FEF-95CE-5222444B6B64}|",
"RelativeMoniker": "D:0:0:{0F7883F6-1A56-4AAF-A6B9-8BE2923FC248}|client\\Writer\\Writer.csproj|solutionrelative:client\\writer\\writer.csproj||{04B8AB82-A572-4FEF-95CE-5222444B6B64}|"
}
],
"DocumentGroupContainers": [
@@ -26,11 +30,24 @@
"DocumentGroups": [
{
"DockedWidth": 200,
"SelectedChildIndex": 0,
"SelectedChildIndex": 3,
"Children": [
{
"$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",
"DocumentMoniker": "C:\\Users\\Administrator\\projects\\hiddencode_project\\client\\Writer\\Writer.csproj",
"RelativeDocumentMoniker": "client\\Writer\\Writer.csproj",
@@ -42,20 +59,20 @@
},
{
"$type": "Document",
"DocumentIndex": 1,
"DocumentIndex": 2,
"Title": "MainForm.cs",
"DocumentMoniker": "C:\\Users\\Administrator\\projects\\hiddencode_project\\client\\Writer\\MainForm.cs",
"RelativeDocumentMoniker": "client\\Writer\\MainForm.cs",
"ToolTip": "C:\\Users\\Administrator\\projects\\hiddencode_project\\client\\Writer\\MainForm.cs",
"RelativeToolTip": "client\\Writer\\MainForm.cs",
"ViewState": "AQIAAAAAAAAAAAAAAAAAADEAAAAQAAAA",
"ViewState": "AQIAAAEAAAAAAAAAAAAvwBMAAAAMAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2026-03-29T03:31:15.496Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 2,
"DocumentIndex": 0,
"Title": "MainForm.cs [\u8BBE\u8BA1]",
"DocumentMoniker": "C:\\Users\\Administrator\\projects\\hiddencode_project\\client\\Writer\\MainForm.cs",
"RelativeDocumentMoniker": "client\\Writer\\MainForm.cs",
@@ -67,7 +84,7 @@
},
{
"$type": "Document",
"DocumentIndex": 3,
"DocumentIndex": 1,
"Title": "MainForm.cs [\u8BBE\u8BA1]",
"DocumentMoniker": "C:\\Users\\Administrator\\projects\\hiddencode_project\\client\\Reader\\MainForm.cs",
"RelativeDocumentMoniker": "client\\Reader\\MainForm.cs",

View File

@@ -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;