mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-07-02 04:14:18 +00:00
MainForm.cs - Rename 'LoadFromPath' to 'LoadPck'
This commit is contained in:
@@ -23,10 +23,10 @@ namespace PckStudio
|
||||
|
||||
System.Globalization.CultureInfo.CurrentCulture.NumberFormat = System.Globalization.NumberFormatInfo.InvariantInfo;
|
||||
|
||||
var f = new MainForm();
|
||||
var mianForm = new MainForm();
|
||||
if (args.Length > 0 && File.Exists(args[0]) && args[0].EndsWith(".pck"))
|
||||
f.LoadFromPath(args[0]);
|
||||
Application.Run(f);
|
||||
mianForm.LoadPck(args[0]);
|
||||
Application.Run(mianForm);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user