mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-07-06 05:48:06 +00:00
MainForm - Fix Start Position not being in the Center of the screen
This commit is contained in:
@@ -26,7 +26,7 @@ using PckStudio.ToolboxItems;
|
||||
|
||||
namespace PckStudio
|
||||
{
|
||||
public partial class MainForm : ThemeForm
|
||||
public partial class MainForm : Form
|
||||
{
|
||||
string saveLocation = string.Empty;
|
||||
PCKFile currentPCK = null;
|
||||
|
||||
@@ -21,11 +21,13 @@ namespace PckStudio
|
||||
#if DEBUG
|
||||
Debug.Listeners.Add(new TextWriterTraceListener(Console.Out));
|
||||
#endif
|
||||
DarkNet.Instance.SetCurrentProcessTheme(Theme.Auto);
|
||||
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
DarkNet.Instance.SetCurrentProcessTheme(Theme.Auto);
|
||||
|
||||
MainForm mainForm = new MainForm();
|
||||
DarkNet.Instance.SetWindowThemeForms(mainForm, Theme.Auto);
|
||||
|
||||
Application.Run(mainForm);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user