Add CharacterBuilder plugin link

This commit is contained in:
2022-11-09 12:25:42 +08:00
parent bcfb23a8fb
commit a9c8a667ec
3 changed files with 4010 additions and 890 deletions

View File

@ -324,6 +324,7 @@ namespace GrasscutterTools.Forms
this.TxtMailSender = new System.Windows.Forms.TextBox();
this.LblMailSenderLabel = new System.Windows.Forms.Label();
this.MenuSpawnEntityFilter = new System.Windows.Forms.ContextMenuStrip(this.components);
this.LnkCharacterBuilder = new System.Windows.Forms.LinkLabel();
this.GrpCommand.SuspendLayout();
this.TPRemoteCall.SuspendLayout();
this.GrpServerStatus.SuspendLayout();
@ -2364,6 +2365,7 @@ namespace GrasscutterTools.Forms
//
// TPArtifact
//
this.TPArtifact.Controls.Add(this.LnkCharacterBuilder);
this.TPArtifact.Controls.Add(this.LblArtifactLevelTip);
this.TPArtifact.Controls.Add(this.BtnAddSubAttr);
this.TPArtifact.Controls.Add(this.LblArtifactName);
@ -3023,6 +3025,13 @@ namespace GrasscutterTools.Forms
this.MenuSpawnEntityFilter.Name = "MenuSpawnEntityFilter";
resources.ApplyResources(this.MenuSpawnEntityFilter, "MenuSpawnEntityFilter");
//
// LnkCharacterBuilder
//
resources.ApplyResources(this.LnkCharacterBuilder, "LnkCharacterBuilder");
this.LnkCharacterBuilder.Name = "LnkCharacterBuilder";
this.LnkCharacterBuilder.TabStop = true;
this.LnkCharacterBuilder.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.LnkCharacterBuilder_LinkClicked);
//
// FormMain
//
resources.ApplyResources(this, "$this");
@ -3457,5 +3466,6 @@ namespace GrasscutterTools.Forms
private System.Windows.Forms.Label LblSpawnVersionRequireTip;
private System.Windows.Forms.ComboBox CmbSwitchElement;
private System.Windows.Forms.LinkLabel LnkSwitchElement;
private System.Windows.Forms.LinkLabel LnkCharacterBuilder;
}
}

View File

@ -820,6 +820,14 @@ namespace GrasscutterTools.Forms
LblArtifactLevelTip.Text = $"[{NUDArtifactLevel.Minimum}-{NUDArtifactLevel.Maximum}]";
}
/// <summary>
/// 点击CharacterBuilder链接标签时触发
/// </summary>
private void LnkCharacterBuilder_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
OpenURL("https://github.com/Penelopeep/CharacterBuilder");
}
#endregion - Artifact -
#region - Weapons -

File diff suppressed because it is too large Load Diff