Update Tools page

This commit is contained in:
jie65535 committed 2023-06-09 22:42:33 +08:00
1 parent 6706525e77
commit c1b89a2b9a
10 files changed
+219 -5

No files matched your search

+7 -2
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;