From 33edc6a21175f16aae06fc4d3d327266a456eeee Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 18 Jan 2017 10:01:37 -0500 Subject: 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. --- ShiftOS.WinForms/Program.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'ShiftOS.WinForms/Program.cs') 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()); -- cgit v1.2.3