mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-14 13:24:48 +08:00
New Project Window
This commit is contained in:
+10
-1
@@ -17,6 +17,7 @@ namespace CodeWalker
|
||||
|
||||
bool menumode = false;
|
||||
bool explorermode = false;
|
||||
bool projectmode = false;
|
||||
if ((args != null) && (args.Length > 0))
|
||||
{
|
||||
foreach (string arg in args)
|
||||
@@ -30,6 +31,10 @@ namespace CodeWalker
|
||||
{
|
||||
explorermode = true;
|
||||
}
|
||||
if (argl == "project")
|
||||
{
|
||||
projectmode = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -47,7 +52,7 @@ namespace CodeWalker
|
||||
try
|
||||
{
|
||||
#endif
|
||||
if (menumode)
|
||||
if (menumode)
|
||||
{
|
||||
Application.Run(new MenuForm());
|
||||
}
|
||||
@@ -55,6 +60,10 @@ namespace CodeWalker
|
||||
{
|
||||
Application.Run(new ExploreForm());
|
||||
}
|
||||
else if (projectmode)
|
||||
{
|
||||
Application.Run(new Project.ProjectForm2());
|
||||
}
|
||||
else
|
||||
{
|
||||
Application.Run(new WorldForm());
|
||||
|
||||
Reference in New Issue
Block a user