From 475b59103b57161a8201b697c0daae4bca5495bc Mon Sep 17 00:00:00 2001 From: Matthijs ter Woord Date: Fri, 22 May 2015 18:39:25 +0200 Subject: [PATCH] Updates to my playground. --- Users/Matthijs/Playground/Kernel.cs | 22 +++++++++---- Users/Matthijs/Playground/Playground.csproj | 4 --- .../Matthijs/Playground/PlaygroundBoot.Cosmos | 31 ++++++++++++++----- 3 files changed, 40 insertions(+), 17 deletions(-) diff --git a/Users/Matthijs/Playground/Kernel.cs b/Users/Matthijs/Playground/Kernel.cs index c010158e6..0ae1fdf8f 100644 --- a/Users/Matthijs/Playground/Kernel.cs +++ b/Users/Matthijs/Playground/Kernel.cs @@ -1,5 +1,4 @@ using System; -using PlaygroundSystem; using Sys = Cosmos.System; namespace Playground @@ -14,12 +13,23 @@ namespace Playground protected override void Run() { Console.WriteLine("Started"); - Console.ForegroundColor = ConsoleColor.Red; - Console.BackgroundColor=ConsoleColor.DarkYellow; - Console.WriteLine("Rood op donker geel!"); - Console.ReadLine(); - Console.WriteLine("Done"); + //Console.ForegroundColor = ConsoleColor.Red; + //Console.BackgroundColor=ConsoleColor.DarkYellow; + //Console.WriteLine("Rood op donker geel!"); + //Console.ReadLine(); + //Console.WriteLine("Done"); + try + { + Console.Write(""); + } + catch(Exception E) + { + Console.WriteLine("Error occurred!"); + Console.Write("Error: "); + Console.WriteLine(E.Message); + } + Console.WriteLine("Done."); while (true) ; diff --git a/Users/Matthijs/Playground/Playground.csproj b/Users/Matthijs/Playground/Playground.csproj index 0848d43cd..38c132cf3 100644 --- a/Users/Matthijs/Playground/Playground.csproj +++ b/Users/Matthijs/Playground/Playground.csproj @@ -40,10 +40,6 @@ {3def0461-08ab-471a-8f03-a9c556652a0f} Cosmos.System - - {82F6DDA3-E45D-4E7A-AA09-85FC2EDE2F76} - PlaygroundSystem -