diff options
| author | Michael <[email protected]> | 2017-01-18 10:01:37 -0500 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-01-18 10:01:37 -0500 |
| commit | 33edc6a21175f16aae06fc4d3d327266a456eeee (patch) | |
| tree | 2fdd8ef3edc135a38088a2409032982538f22664 /ShiftOS.WinForms/Program.cs | |
| parent | 18f93056b7d882b4dcce4d3afacd1ba6d37d94ac (diff) | |
| download | shiftos_thereturn-33edc6a21175f16aae06fc4d3d327266a456eeee.tar.gz shiftos_thereturn-33edc6a21175f16aae06fc4d3d327266a456eeee.tar.bz2 shiftos_thereturn-33edc6a21175f16aae06fc4d3d327266a456eeee.zip | |
Improved tutorial, win.open edit
Tutorial now goes over how to do basic things like check codepoints, buy
upgrades, open windows etc.
win.open now shows a list of available windows when ran with no
arguments.
Diffstat (limited to 'ShiftOS.WinForms/Program.cs')
| -rw-r--r-- | ShiftOS.WinForms/Program.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ShiftOS.WinForms/Program.cs b/ShiftOS.WinForms/Program.cs index 7db25b9..dfb935e 100644 --- a/ShiftOS.WinForms/Program.cs +++ b/ShiftOS.WinForms/Program.cs @@ -44,6 +44,9 @@ namespace ShiftOS.WinForms [STAThread] static void Main() { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + //if ANYONE puts code before those two winforms config lines they will be declared a drunky. - Michael Localization.RegisterProvider(new WFLanguageProvider()); Shiftorium.RegisterProvider(new WinformsShiftoriumProvider()); AppearanceManager.OnExit += () => @@ -51,12 +54,12 @@ namespace ShiftOS.WinForms Environment.Exit(0); }; + TutorialManager.RegisterTutorial(new Oobe()); + TerminalBackend.TerminalRequested += () => { AppearanceManager.SetupWindow(new Applications.Terminal()); }; - Application.EnableVisualStyles(); - Application.SetCompatibleTextRenderingDefault(false); AppearanceManager.Initiate(new WinformsWindowManager()); OutOfBoxExperience.Init(new Oobe()); Infobox.Init(new WinformsInfobox()); |
