Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ static class Startup
[STAThread]
static int Main(string[] args)
{
return SimulatorLauncher.Start(typeof(App));
return SimulatorLauncher.Start<App>();
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ internal static class Startup
[STAThread]
private static int Main(string[] args)
{
return SimulatorLauncher.Start(typeof(App));
return SimulatorLauncher.Start<App>();
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ internal static class Startup
[STAThread]
static int Main(string[] args)
{
return SimulatorLauncher.Start(typeof(App));
return SimulatorLauncher.Start<App>();
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ static class Startup
[STAThread]
static int Main(string[] args)
{
return SimulatorLauncher.Start(typeof(App));
return SimulatorLauncher.Start<App>();
}
}
}
2 changes: 1 addition & 1 deletion src/OpenSilverPhotinoTemplate/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ static void Main(string[] args)
.SetTitle(windowTitle)
.SetUseOsDefaultSize(true)
.Center() // Center window in the middle of the screen
.SetResizable(false) // Users can resize windows by default. Let's make this one fixed instead.
.SetResizable(true)
.SetLogVerbosity(0)
.ConfigureOpenSilver<App>() // Configure OpenSilver App
.Load("wwwroot/index.html"); // Can be used with relative path strings or "new URI()" instance to load a website.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ static class Startup
[STAThread]
static int Main(string[] args)
{
return SimulatorLauncher.Start(typeof(App));
return SimulatorLauncher.Start<App>();
}
}
}
Loading