Update Tools page

This commit is contained in:
2023-06-09 22:42:33 +08:00
parent 6706525e77
commit c1b89a2b9a
10 changed files with 219 additions and 5 deletions

View File

@@ -108,7 +108,9 @@ namespace GrasscutterTools.Forms
CreatePage<PageAchievement>();
CreatePage<PageSetProp>();
CreatePage<PageAbout>();
//AddPageToGui(CreatePage<PageTools>("Tools"));
#if DEBUG
CreatePage<PageTools>();
#endif
TCMain.ResumeLayout();
Logger.I(TAG, "InitPages completed");
}
@@ -137,6 +139,9 @@ namespace GrasscutterTools.Forms
Resources.PageAchievementTitle,
Resources.PageSetPropTitle,
Resources.PageAboutTitle,
#if DEBUG
"Tools",
#endif
});
}
@@ -186,7 +191,7 @@ namespace GrasscutterTools.Forms
tp.Controls.Add(page);
return page;
}
private void ListPages_SelectedIndexChanged(object sender, EventArgs e)
{
TCMain.SelectedIndex = ListPages.SelectedIndex;