shiftoes easter egg
This commit is contained in:
parent
d0d42a2785
commit
e7d23cc119
5 changed files with 22 additions and 0 deletions
|
@ -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();
|
||||
|
|
10
ShiftOS.WinForms/Properties/Resources.Designer.cs
generated
10
ShiftOS.WinForms/Properties/Resources.Designer.cs
generated
|
@ -1122,6 +1122,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
|
||||
|
|
|
@ -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>
|
BIN
ShiftOS.WinForms/Resources/shiftoes.png
Normal file
BIN
ShiftOS.WinForms/Resources/shiftoes.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 33 KiB |
|
@ -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" />
|
||||
|
|
Reference in a new issue