Fix F5 not working

This commit is contained in:
2022-05-13 10:50:21 +08:00
parent 2f161a5586
commit fb17ebe60b
2 changed files with 767 additions and 2470 deletions

View File

@ -35,6 +35,7 @@ namespace GrasscutterTools
this.BtnCopy = new System.Windows.Forms.Button(); this.BtnCopy = new System.Windows.Forms.Button();
this.ChkAutoCopy = new System.Windows.Forms.CheckBox(); this.ChkAutoCopy = new System.Windows.Forms.CheckBox();
this.GrpCommand = new System.Windows.Forms.GroupBox(); this.GrpCommand = new System.Windows.Forms.GroupBox();
this.BtnInvokeOpenCommand = new System.Windows.Forms.Button();
this.TCMain = new System.Windows.Forms.TabControl(); this.TCMain = new System.Windows.Forms.TabControl();
this.TPHome = new System.Windows.Forms.TabPage(); this.TPHome = new System.Windows.Forms.TabPage();
this.BtnOpenTextMap = new System.Windows.Forms.Button(); this.BtnOpenTextMap = new System.Windows.Forms.Button();
@ -160,25 +161,24 @@ namespace GrasscutterTools
this.LnkGithub = new System.Windows.Forms.LinkLabel(); this.LnkGithub = new System.Windows.Forms.LinkLabel();
this.LblSupportDescription = new System.Windows.Forms.Label(); this.LblSupportDescription = new System.Windows.Forms.Label();
this.TPRemoteCall = new System.Windows.Forms.TabPage(); this.TPRemoteCall = new System.Windows.Forms.TabPage();
this.GrpRemoteCommand = new System.Windows.Forms.GroupBox();
this.TxtHost = new System.Windows.Forms.TextBox();
this.LblHost = new System.Windows.Forms.Label();
this.BtnQueryServerStatus = new System.Windows.Forms.Button();
this.NUDRemotePlayerId = new System.Windows.Forms.NumericUpDown();
this.LblRemotePlayerId = new System.Windows.Forms.Label();
this.LblServerVersionLabel = new System.Windows.Forms.Label();
this.LblServerVersion = new System.Windows.Forms.Label();
this.LblPlayerCountLabel = new System.Windows.Forms.Label();
this.LblPlayerCount = new System.Windows.Forms.Label();
this.GrpServerStatus = new System.Windows.Forms.GroupBox(); this.GrpServerStatus = new System.Windows.Forms.GroupBox();
this.LblOpenCommandSupport = new System.Windows.Forms.Label();
this.LnkOpenCommandLabel = new System.Windows.Forms.LinkLabel(); this.LnkOpenCommandLabel = new System.Windows.Forms.LinkLabel();
this.LblVerificationCode = new System.Windows.Forms.Label(); this.LblOpenCommandSupport = new System.Windows.Forms.Label();
this.NUDVerificationCode = new System.Windows.Forms.NumericUpDown(); this.LblServerVersion = new System.Windows.Forms.Label();
this.BtnSendVerificationCode = new System.Windows.Forms.Button(); this.LblPlayerCount = new System.Windows.Forms.Label();
this.BtnConnectOpenCommand = new System.Windows.Forms.Button(); this.LblServerVersionLabel = new System.Windows.Forms.Label();
this.BtnInvokeOpenCommand = new System.Windows.Forms.Button(); this.LblPlayerCountLabel = new System.Windows.Forms.Label();
this.GrpRemoteCommand = new System.Windows.Forms.GroupBox();
this.LnkRCHelp = new System.Windows.Forms.LinkLabel(); this.LnkRCHelp = new System.Windows.Forms.LinkLabel();
this.BtnConnectOpenCommand = new System.Windows.Forms.Button();
this.BtnSendVerificationCode = new System.Windows.Forms.Button();
this.LblRemotePlayerId = new System.Windows.Forms.Label();
this.NUDVerificationCode = new System.Windows.Forms.NumericUpDown();
this.LblVerificationCode = new System.Windows.Forms.Label();
this.NUDRemotePlayerId = new System.Windows.Forms.NumericUpDown();
this.TxtHost = new System.Windows.Forms.TextBox();
this.BtnQueryServerStatus = new System.Windows.Forms.Button();
this.LblHost = new System.Windows.Forms.Label();
this.TTip = new System.Windows.Forms.ToolTip(this.components); this.TTip = new System.Windows.Forms.ToolTip(this.components);
this.GrpCommand.SuspendLayout(); this.GrpCommand.SuspendLayout();
this.TCMain.SuspendLayout(); this.TCMain.SuspendLayout();
@ -222,10 +222,10 @@ namespace GrasscutterTools
this.TPAbout.SuspendLayout(); this.TPAbout.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
this.TPRemoteCall.SuspendLayout(); this.TPRemoteCall.SuspendLayout();
this.GrpRemoteCommand.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.NUDRemotePlayerId)).BeginInit();
this.GrpServerStatus.SuspendLayout(); this.GrpServerStatus.SuspendLayout();
this.GrpRemoteCommand.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.NUDVerificationCode)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.NUDVerificationCode)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.NUDRemotePlayerId)).BeginInit();
this.SuspendLayout(); this.SuspendLayout();
// //
// TxtCommand // TxtCommand
@ -256,6 +256,13 @@ namespace GrasscutterTools
this.GrpCommand.Name = "GrpCommand"; this.GrpCommand.Name = "GrpCommand";
this.GrpCommand.TabStop = false; this.GrpCommand.TabStop = false;
// //
// BtnInvokeOpenCommand
//
resources.ApplyResources(this.BtnInvokeOpenCommand, "BtnInvokeOpenCommand");
this.BtnInvokeOpenCommand.Name = "BtnInvokeOpenCommand";
this.BtnInvokeOpenCommand.UseVisualStyleBackColor = true;
this.BtnInvokeOpenCommand.Click += new System.EventHandler(this.BtnInvokeOpenCommand_Click);
//
// TCMain // TCMain
// //
resources.ApplyResources(this.TCMain, "TCMain"); resources.ApplyResources(this.TCMain, "TCMain");
@ -1371,6 +1378,50 @@ namespace GrasscutterTools
this.TPRemoteCall.Name = "TPRemoteCall"; this.TPRemoteCall.Name = "TPRemoteCall";
this.TPRemoteCall.UseVisualStyleBackColor = true; this.TPRemoteCall.UseVisualStyleBackColor = true;
// //
// GrpServerStatus
//
this.GrpServerStatus.Controls.Add(this.LnkOpenCommandLabel);
this.GrpServerStatus.Controls.Add(this.LblOpenCommandSupport);
this.GrpServerStatus.Controls.Add(this.LblServerVersion);
this.GrpServerStatus.Controls.Add(this.LblPlayerCount);
this.GrpServerStatus.Controls.Add(this.LblServerVersionLabel);
this.GrpServerStatus.Controls.Add(this.LblPlayerCountLabel);
resources.ApplyResources(this.GrpServerStatus, "GrpServerStatus");
this.GrpServerStatus.Name = "GrpServerStatus";
this.GrpServerStatus.TabStop = false;
//
// LnkOpenCommandLabel
//
resources.ApplyResources(this.LnkOpenCommandLabel, "LnkOpenCommandLabel");
this.LnkOpenCommandLabel.Name = "LnkOpenCommandLabel";
this.LnkOpenCommandLabel.TabStop = true;
this.LnkOpenCommandLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.LnkOpenCommandLabel_LinkClicked);
//
// LblOpenCommandSupport
//
resources.ApplyResources(this.LblOpenCommandSupport, "LblOpenCommandSupport");
this.LblOpenCommandSupport.Name = "LblOpenCommandSupport";
//
// LblServerVersion
//
resources.ApplyResources(this.LblServerVersion, "LblServerVersion");
this.LblServerVersion.Name = "LblServerVersion";
//
// LblPlayerCount
//
resources.ApplyResources(this.LblPlayerCount, "LblPlayerCount");
this.LblPlayerCount.Name = "LblPlayerCount";
//
// LblServerVersionLabel
//
resources.ApplyResources(this.LblServerVersionLabel, "LblServerVersionLabel");
this.LblServerVersionLabel.Name = "LblServerVersionLabel";
//
// LblPlayerCountLabel
//
resources.ApplyResources(this.LblPlayerCountLabel, "LblPlayerCountLabel");
this.LblPlayerCountLabel.Name = "LblPlayerCountLabel";
//
// GrpRemoteCommand // GrpRemoteCommand
// //
resources.ApplyResources(this.GrpRemoteCommand, "GrpRemoteCommand"); resources.ApplyResources(this.GrpRemoteCommand, "GrpRemoteCommand");
@ -1384,92 +1435,32 @@ namespace GrasscutterTools
this.GrpRemoteCommand.Name = "GrpRemoteCommand"; this.GrpRemoteCommand.Name = "GrpRemoteCommand";
this.GrpRemoteCommand.TabStop = false; this.GrpRemoteCommand.TabStop = false;
// //
// TxtHost // LnkRCHelp
// //
resources.ApplyResources(this.TxtHost, "TxtHost"); resources.ApplyResources(this.LnkRCHelp, "LnkRCHelp");
this.TxtHost.Name = "TxtHost"; this.LnkRCHelp.Name = "LnkRCHelp";
this.LnkRCHelp.TabStop = true;
this.LnkRCHelp.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.LnkRCHelp_LinkClicked);
// //
// LblHost // BtnConnectOpenCommand
// //
resources.ApplyResources(this.LblHost, "LblHost"); resources.ApplyResources(this.BtnConnectOpenCommand, "BtnConnectOpenCommand");
this.LblHost.Name = "LblHost"; this.BtnConnectOpenCommand.Name = "BtnConnectOpenCommand";
this.BtnConnectOpenCommand.UseVisualStyleBackColor = true;
this.BtnConnectOpenCommand.Click += new System.EventHandler(this.BtnConnectOpenCommand_Click);
// //
// BtnQueryServerStatus // BtnSendVerificationCode
// //
resources.ApplyResources(this.BtnQueryServerStatus, "BtnQueryServerStatus"); resources.ApplyResources(this.BtnSendVerificationCode, "BtnSendVerificationCode");
this.BtnQueryServerStatus.Name = "BtnQueryServerStatus"; this.BtnSendVerificationCode.Name = "BtnSendVerificationCode";
this.BtnQueryServerStatus.UseVisualStyleBackColor = true; this.BtnSendVerificationCode.UseVisualStyleBackColor = true;
this.BtnQueryServerStatus.Click += new System.EventHandler(this.BtnQueryServerStatus_Click); this.BtnSendVerificationCode.Click += new System.EventHandler(this.BtnSendVerificationCode_Click);
//
// NUDRemotePlayerId
//
resources.ApplyResources(this.NUDRemotePlayerId, "NUDRemotePlayerId");
this.NUDRemotePlayerId.Maximum = new decimal(new int[] {
2147483647,
0,
0,
0});
this.NUDRemotePlayerId.Name = "NUDRemotePlayerId";
this.NUDRemotePlayerId.Value = new decimal(new int[] {
10001,
0,
0,
0});
// //
// LblRemotePlayerId // LblRemotePlayerId
// //
resources.ApplyResources(this.LblRemotePlayerId, "LblRemotePlayerId"); resources.ApplyResources(this.LblRemotePlayerId, "LblRemotePlayerId");
this.LblRemotePlayerId.Name = "LblRemotePlayerId"; this.LblRemotePlayerId.Name = "LblRemotePlayerId";
// //
// LblServerVersionLabel
//
resources.ApplyResources(this.LblServerVersionLabel, "LblServerVersionLabel");
this.LblServerVersionLabel.Name = "LblServerVersionLabel";
//
// LblServerVersion
//
resources.ApplyResources(this.LblServerVersion, "LblServerVersion");
this.LblServerVersion.Name = "LblServerVersion";
//
// LblPlayerCountLabel
//
resources.ApplyResources(this.LblPlayerCountLabel, "LblPlayerCountLabel");
this.LblPlayerCountLabel.Name = "LblPlayerCountLabel";
//
// LblPlayerCount
//
resources.ApplyResources(this.LblPlayerCount, "LblPlayerCount");
this.LblPlayerCount.Name = "LblPlayerCount";
//
// GrpServerStatus
//
this.GrpServerStatus.Controls.Add(this.LnkOpenCommandLabel);
this.GrpServerStatus.Controls.Add(this.LblOpenCommandSupport);
this.GrpServerStatus.Controls.Add(this.LblServerVersion);
this.GrpServerStatus.Controls.Add(this.LblPlayerCount);
this.GrpServerStatus.Controls.Add(this.LblServerVersionLabel);
this.GrpServerStatus.Controls.Add(this.LblPlayerCountLabel);
resources.ApplyResources(this.GrpServerStatus, "GrpServerStatus");
this.GrpServerStatus.Name = "GrpServerStatus";
this.GrpServerStatus.TabStop = false;
//
// LblOpenCommandSupport
//
resources.ApplyResources(this.LblOpenCommandSupport, "LblOpenCommandSupport");
this.LblOpenCommandSupport.Name = "LblOpenCommandSupport";
//
// LnkOpenCommandLabel
//
resources.ApplyResources(this.LnkOpenCommandLabel, "LnkOpenCommandLabel");
this.LnkOpenCommandLabel.Name = "LnkOpenCommandLabel";
this.LnkOpenCommandLabel.TabStop = true;
this.LnkOpenCommandLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.LnkOpenCommandLabel_LinkClicked);
//
// LblVerificationCode
//
resources.ApplyResources(this.LblVerificationCode, "LblVerificationCode");
this.LblVerificationCode.Name = "LblVerificationCode";
//
// NUDVerificationCode // NUDVerificationCode
// //
resources.ApplyResources(this.NUDVerificationCode, "NUDVerificationCode"); resources.ApplyResources(this.NUDVerificationCode, "NUDVerificationCode");
@ -1490,33 +1481,42 @@ namespace GrasscutterTools
0, 0,
0}); 0});
// //
// BtnSendVerificationCode // LblVerificationCode
// //
resources.ApplyResources(this.BtnSendVerificationCode, "BtnSendVerificationCode"); resources.ApplyResources(this.LblVerificationCode, "LblVerificationCode");
this.BtnSendVerificationCode.Name = "BtnSendVerificationCode"; this.LblVerificationCode.Name = "LblVerificationCode";
this.BtnSendVerificationCode.UseVisualStyleBackColor = true;
this.BtnSendVerificationCode.Click += new System.EventHandler(this.BtnSendVerificationCode_Click);
// //
// BtnConnectOpenCommand // NUDRemotePlayerId
// //
resources.ApplyResources(this.BtnConnectOpenCommand, "BtnConnectOpenCommand"); resources.ApplyResources(this.NUDRemotePlayerId, "NUDRemotePlayerId");
this.BtnConnectOpenCommand.Name = "BtnConnectOpenCommand"; this.NUDRemotePlayerId.Maximum = new decimal(new int[] {
this.BtnConnectOpenCommand.UseVisualStyleBackColor = true; 2147483647,
this.BtnConnectOpenCommand.Click += new System.EventHandler(this.BtnConnectOpenCommand_Click); 0,
0,
0});
this.NUDRemotePlayerId.Name = "NUDRemotePlayerId";
this.NUDRemotePlayerId.Value = new decimal(new int[] {
10001,
0,
0,
0});
// //
// BtnInvokeOpenCommand // TxtHost
// //
resources.ApplyResources(this.BtnInvokeOpenCommand, "BtnInvokeOpenCommand"); resources.ApplyResources(this.TxtHost, "TxtHost");
this.BtnInvokeOpenCommand.Name = "BtnInvokeOpenCommand"; this.TxtHost.Name = "TxtHost";
this.BtnInvokeOpenCommand.UseVisualStyleBackColor = true;
this.BtnInvokeOpenCommand.Click += new System.EventHandler(this.BtnInvokeOpenCommand_Click);
// //
// LnkRCHelp // BtnQueryServerStatus
// //
resources.ApplyResources(this.LnkRCHelp, "LnkRCHelp"); resources.ApplyResources(this.BtnQueryServerStatus, "BtnQueryServerStatus");
this.LnkRCHelp.Name = "LnkRCHelp"; this.BtnQueryServerStatus.Name = "BtnQueryServerStatus";
this.LnkRCHelp.TabStop = true; this.BtnQueryServerStatus.UseVisualStyleBackColor = true;
this.LnkRCHelp.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.LnkRCHelp_LinkClicked); this.BtnQueryServerStatus.Click += new System.EventHandler(this.BtnQueryServerStatus_Click);
//
// LblHost
//
resources.ApplyResources(this.LblHost, "LblHost");
this.LblHost.Name = "LblHost";
// //
// FormMain // FormMain
// //
@ -1524,6 +1524,7 @@ namespace GrasscutterTools
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.TCMain); this.Controls.Add(this.TCMain);
this.Controls.Add(this.GrpCommand); this.Controls.Add(this.GrpCommand);
this.KeyPreview = true;
this.Name = "FormMain"; this.Name = "FormMain";
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.FormMain_FormClosed); this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.FormMain_FormClosed);
this.Load += new System.EventHandler(this.FormMain_Load); this.Load += new System.EventHandler(this.FormMain_Load);
@ -1588,12 +1589,12 @@ namespace GrasscutterTools
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
this.TPRemoteCall.ResumeLayout(false); this.TPRemoteCall.ResumeLayout(false);
this.TPRemoteCall.PerformLayout(); this.TPRemoteCall.PerformLayout();
this.GrpRemoteCommand.ResumeLayout(false);
this.GrpRemoteCommand.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.NUDRemotePlayerId)).EndInit();
this.GrpServerStatus.ResumeLayout(false); this.GrpServerStatus.ResumeLayout(false);
this.GrpServerStatus.PerformLayout(); this.GrpServerStatus.PerformLayout();
this.GrpRemoteCommand.ResumeLayout(false);
this.GrpRemoteCommand.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.NUDVerificationCode)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.NUDVerificationCode)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.NUDRemotePlayerId)).EndInit();
this.ResumeLayout(false); this.ResumeLayout(false);
} }

File diff suppressed because it is too large Load Diff