diff options
| author | william341 <[email protected]> | 2017-06-18 18:21:18 -0700 |
|---|---|---|
| committer | william341 <[email protected]> | 2017-06-18 18:21:18 -0700 |
| commit | e7d23cc119a581e49e05ccb46b0e02452aa8678f (patch) | |
| tree | 7451020f020005f40b9b82212ea2b75c51ddd9e3 | |
| parent | d0d42a2785bee57ce74b81f9784cf7ec0e6c2616 (diff) | |
| download | shiftos_thereturn-e7d23cc119a581e49e05ccb46b0e02452aa8678f.tar.gz shiftos_thereturn-e7d23cc119a581e49e05ccb46b0e02452aa8678f.tar.bz2 shiftos_thereturn-e7d23cc119a581e49e05ccb46b0e02452aa8678f.zip | |
shiftoes easter egg
| -rw-r--r-- | ShiftOS.WinForms/MainMenu/MainMenu.cs | 8 | ||||
| -rw-r--r-- | ShiftOS.WinForms/Properties/Resources.Designer.cs | 10 | ||||
| -rw-r--r-- | ShiftOS.WinForms/Properties/Resources.resx | 3 | ||||
| -rw-r--r-- | ShiftOS.WinForms/Resources/shiftoes.png | bin | 0 -> 34065 bytes | |||
| -rw-r--r-- | ShiftOS.WinForms/ShiftOS.WinForms.csproj | 1 |
5 files changed, 22 insertions, 0 deletions
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(); diff --git a/ShiftOS.WinForms/Properties/Resources.Designer.cs b/ShiftOS.WinForms/Properties/Resources.Designer.cs index f56285a..cbc60b3 100644 --- a/ShiftOS.WinForms/Properties/Resources.Designer.cs +++ b/ShiftOS.WinForms/Properties/Resources.Designer.cs @@ -1123,6 +1123,16 @@ namespace ShiftOS.WinForms.Properties { } /// <summary> + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// </summary> + internal static System.Drawing.Bitmap shiftoes { + get { + object obj = ResourceManager.GetObject("shiftoes", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// <summary> /// Looks up a localized string similar to [ ///// SCREENSAVER /// { diff --git a/ShiftOS.WinForms/Properties/Resources.resx b/ShiftOS.WinForms/Properties/Resources.resx index 5e5555b..f9b3f4a 100644 --- a/ShiftOS.WinForms/Properties/Resources.resx +++ b/ShiftOS.WinForms/Properties/Resources.resx @@ -34615,4 +34615,7 @@ <data name="austmicrotrends" type="System.Resources.ResXFileRef, System.Windows.Forms"> <value>..\Resources\austmicrotrends.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> </data> + <data name="shiftoes" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\Resources\shiftoes.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + </data> </root>
\ No newline at end of file diff --git a/ShiftOS.WinForms/Resources/shiftoes.png b/ShiftOS.WinForms/Resources/shiftoes.png Binary files differnew file mode 100644 index 0000000..db02b01 --- /dev/null +++ b/ShiftOS.WinForms/Resources/shiftoes.png diff --git a/ShiftOS.WinForms/ShiftOS.WinForms.csproj b/ShiftOS.WinForms/ShiftOS.WinForms.csproj index 32594bb..e91bdcc 100644 --- a/ShiftOS.WinForms/ShiftOS.WinForms.csproj +++ b/ShiftOS.WinForms/ShiftOS.WinForms.csproj @@ -900,6 +900,7 @@ <None Include="Resources\ShiftOSFull.png" /> <Content Include="Resources\GuessTheNumber.py" /> <None Include="Resources\mindblow.png" /> + <None Include="Resources\shiftoes.png" /> <Content Include="SystemIcons\iconArtpad.png" /> <Content Include="SystemIcons\iconAudioPlayer.png" /> <Content Include="SystemIcons\iconBitnoteDigger.png" /> |
