first commit

This commit is contained in:
2026-01-07 11:33:05 +08:00
commit fc54ffd43b
215 changed files with 31856 additions and 0 deletions

185
QuickTools/Form1.Designer.cs generated Normal file
View File

@@ -0,0 +1,185 @@
namespace QuickTools
{
partial class Form1
{
/// <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 Windows Form 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()
{
btnEncode = new Button();
tableLayoutPanel1 = new TableLayoutPanel();
panel1 = new Panel();
label1 = new Label();
btnDecode = new Button();
txtProtoId = new TextBox();
groupBox1 = new GroupBox();
groupBox2 = new GroupBox();
txtProto = new TextBox();
this.txtJson = new ICSharpCode.TextEditor.TextEditorControlEx();
tableLayoutPanel1.SuspendLayout();
panel1.SuspendLayout();
groupBox1.SuspendLayout();
groupBox2.SuspendLayout();
SuspendLayout();
//
// btnEncode
//
btnEncode.Location = new Point(3, 49);
btnEncode.Name = "btnEncode";
btnEncode.Size = new Size(75, 23);
btnEncode.TabIndex = 0;
btnEncode.Text = "→";
btnEncode.UseVisualStyleBackColor = true;
btnEncode.Click += btnEncode_Click;
//
// tableLayoutPanel1
//
tableLayoutPanel1.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
tableLayoutPanel1.ColumnCount = 3;
tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F));
tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 89F));
tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F));
tableLayoutPanel1.Controls.Add(panel1, 1, 0);
tableLayoutPanel1.Controls.Add(groupBox1, 0, 0);
tableLayoutPanel1.Controls.Add(groupBox2, 2, 0);
tableLayoutPanel1.Location = new Point(12, 12);
tableLayoutPanel1.Name = "tableLayoutPanel1";
tableLayoutPanel1.RowCount = 1;
tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 100F));
tableLayoutPanel1.Size = new Size(815, 444);
tableLayoutPanel1.TabIndex = 2;
//
// panel1
//
panel1.Controls.Add(label1);
panel1.Controls.Add(btnDecode);
panel1.Controls.Add(btnEncode);
panel1.Controls.Add(txtProtoId);
panel1.Dock = DockStyle.Fill;
panel1.Location = new Point(366, 3);
panel1.Name = "panel1";
panel1.Size = new Size(83, 438);
panel1.TabIndex = 0;
//
// label1
//
label1.AutoSize = true;
label1.Location = new Point(3, 0);
label1.Name = "label1";
label1.Size = new Size(74, 17);
label1.TabIndex = 1;
label1.Text = "Protocol ID";
label1.TextAlign = ContentAlignment.MiddleCenter;
//
// btnDecode
//
btnDecode.Location = new Point(3, 78);
btnDecode.Name = "btnDecode";
btnDecode.Size = new Size(75, 23);
btnDecode.TabIndex = 0;
btnDecode.Text = "←";
btnDecode.UseVisualStyleBackColor = true;
btnDecode.Click += btnDecode_Click;
//
// txtProtoId
//
txtProtoId.Location = new Point(3, 20);
txtProtoId.Name = "txtProtoId";
txtProtoId.Size = new Size(74, 23);
txtProtoId.TabIndex = 0;
//
// groupBox1
//
groupBox1.Controls.Add(this.txtJson);
groupBox1.Dock = DockStyle.Fill;
groupBox1.Location = new Point(3, 3);
groupBox1.Name = "groupBox1";
groupBox1.Size = new Size(357, 438);
groupBox1.TabIndex = 1;
groupBox1.TabStop = false;
groupBox1.Text = "JSON";
//
// groupBox2
//
groupBox2.Controls.Add(txtProto);
groupBox2.Dock = DockStyle.Fill;
groupBox2.Location = new Point(455, 3);
groupBox2.Name = "groupBox2";
groupBox2.Size = new Size(357, 438);
groupBox2.TabIndex = 1;
groupBox2.TabStop = false;
groupBox2.Text = "Protobuf(Base64)";
//
// txtProto
//
txtProto.Dock = DockStyle.Fill;
txtProto.Location = new Point(3, 19);
txtProto.Multiline = true;
txtProto.Name = "txtProto";
txtProto.ScrollBars = ScrollBars.Both;
txtProto.Size = new Size(351, 416);
txtProto.TabIndex = 1;
//
// txtJson
//
this.txtJson.Font = new Font("Courier New", 10F, FontStyle.Regular, GraphicsUnit.Point);
this.txtJson.Location = new Point(6, 19);
this.txtJson.Name = "txtJson";
this.txtJson.Size = new Size(351, 416);
this.txtJson.SyntaxHighlighting = "JSON";
this.txtJson.FoldingStrategy = "JSON";
this.txtJson.TabIndex = 0;
//
// Form1
//
AutoScaleDimensions = new SizeF(7F, 17F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(832, 460);
Controls.Add(tableLayoutPanel1);
Name = "Form1";
Text = "Form1";
tableLayoutPanel1.ResumeLayout(false);
panel1.ResumeLayout(false);
panel1.PerformLayout();
groupBox1.ResumeLayout(false);
groupBox2.ResumeLayout(false);
groupBox2.PerformLayout();
ResumeLayout(false);
}
#endregion
private Button btnEncode;
private TableLayoutPanel tableLayoutPanel1;
private Panel panel1;
private Label label1;
private Button btnDecode;
private TextBox txtProtoId;
private GroupBox groupBox1;
private GroupBox groupBox2;
private TextBox txtProto;
private ICSharpCode.TextEditor.TextEditorControlEx txtJson;
}
}