From e7d23cc119a581e49e05ccb46b0e02452aa8678f Mon Sep 17 00:00:00 2001 From: william341 Date: Sun, 18 Jun 2017 18:21:18 -0700 Subject: shiftoes easter egg --- ShiftOS.WinForms/MainMenu/MainMenu.cs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ShiftOS.WinForms/MainMenu/MainMenu.cs') diff --git a/ShiftOS.WinForms/MainMenu/MainMenu.cs b/ShiftOS.WinForms/MainMenu/MainMenu.cs index f6bc833..043de0f 100644 --- a/ShiftOS.WinForms/MainMenu/MainMenu.cs +++ b/ShiftOS.WinForms/MainMenu/MainMenu.cs @@ -110,6 +110,14 @@ namespace ShiftOS.WinForms.MainMenu currentMenu = flmenu; CategoryText = Localization.Parse("{MAINMENU_TITLE}"); + //ShiftOeS easter egg + Random rnd = new Random(); + int RandomNum = rnd.Next(1,100); + if (RandomNum == 42) //if we find the answer to life, universe and everything than set the logo to shiftoes + { + shiftos.Image = Properties.Resources.shiftoes; + } + } private Random rnd = new Random(); -- cgit v1.2.3