From ea8f563e6182ea377c353a6f55d2e1c05c2c277c Mon Sep 17 00:00:00 2001 From: Alee Date: Sun, 10 Feb 2019 00:03:45 -0500 Subject: Added assets --- BSODPrank/BSODPrank.csproj | 10 ++ BSODPrank/Form1.Designer.cs | 13 ++- BSODPrank/Form1.cs | 10 ++ BSODPrank/Form1.resx | 120 +++++++++++++++++++++ BSODPrank/Properties/Resources.Designer.cs | 63 ++++++----- BSODPrank/Properties/Resources.resx | 20 +++- .../Resources/Bleep-SoundBible.com-1927126940.wav | Bin 0 -> 14044 bytes BSODPrank/Resources/bsod.png | Bin 0 -> 76701 bytes 8 files changed, 203 insertions(+), 33 deletions(-) create mode 100644 BSODPrank/Form1.resx create mode 100644 BSODPrank/Resources/Bleep-SoundBible.com-1927126940.wav create mode 100644 BSODPrank/Resources/bsod.png diff --git a/BSODPrank/BSODPrank.csproj b/BSODPrank/BSODPrank.csproj index c8beaf8..78a54b9 100644 --- a/BSODPrank/BSODPrank.csproj +++ b/BSODPrank/BSODPrank.csproj @@ -53,6 +53,9 @@ + + Form1.cs + ResXFileCodeGenerator Resources.Designer.cs @@ -61,6 +64,7 @@ True Resources.resx + True SettingsSingleFileGenerator @@ -75,5 +79,11 @@ + + + + + + \ No newline at end of file diff --git a/BSODPrank/Form1.Designer.cs b/BSODPrank/Form1.Designer.cs index 44d5a3a..ff6fdcc 100644 --- a/BSODPrank/Form1.Designer.cs +++ b/BSODPrank/Form1.Designer.cs @@ -28,10 +28,19 @@ /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); + this.SuspendLayout(); + // + // Form1 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(800, 450); + this.ClientSize = new System.Drawing.Size(813, 516); + this.Name = "Form1"; this.Text = "Form1"; + this.Load += new System.EventHandler(this.Form1_Load); + this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Form1_KeyDown); + this.ResumeLayout(false); + } #endregion diff --git a/BSODPrank/Form1.cs b/BSODPrank/Form1.cs index d919f33..283b63e 100644 --- a/BSODPrank/Form1.cs +++ b/BSODPrank/Form1.cs @@ -16,5 +16,15 @@ namespace BSODPrank { InitializeComponent(); } + + private void Form1_Load(object sender, EventArgs e) + { + + } + + private void Form1_KeyDown(object sender, KeyEventArgs e) + { + + } } } diff --git a/BSODPrank/Form1.resx b/BSODPrank/Form1.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/BSODPrank/Form1.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/BSODPrank/Properties/Resources.Designer.cs b/BSODPrank/Properties/Resources.Designer.cs index 367a54d..718bd49 100644 --- a/BSODPrank/Properties/Resources.Designer.cs +++ b/BSODPrank/Properties/Resources.Designer.cs @@ -8,10 +8,10 @@ // //------------------------------------------------------------------------------ -namespace BSODPrank.Properties -{ - - +namespace BSODPrank.Properties { + using System; + + /// /// A strongly-typed resource class, for looking up localized strings, etc. /// @@ -19,53 +19,64 @@ namespace BSODPrank.Properties // class via a tool like ResGen or Visual Studio. // To add or remove a member, edit your .ResX file then rerun ResGen // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources - { - + internal class Resources { + private static global::System.Resources.ResourceManager resourceMan; - + private static global::System.Globalization.CultureInfo resourceCulture; - + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() - { + internal Resources() { } - + /// /// Returns the cached ResourceManager instance used by this class. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager - { - get - { - if ((resourceMan == null)) - { + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("BSODPrank.Properties.Resources", typeof(Resources).Assembly); resourceMan = temp; } return resourceMan; } } - + /// /// Overrides the current thread's CurrentUICulture property for all /// resource lookups using this strongly typed resource class. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture - { - get - { + internal static global::System.Globalization.CultureInfo Culture { + get { return resourceCulture; } - set - { + set { resourceCulture = value; } } + + /// + /// Looks up a localized resource of type System.IO.UnmanagedMemoryStream similar to System.IO.MemoryStream. + /// + internal static System.IO.UnmanagedMemoryStream bleep { + get { + return ResourceManager.GetStream("bleep", resourceCulture); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap bsod { + get { + object obj = ResourceManager.GetObject("bsod", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } } } diff --git a/BSODPrank/Properties/Resources.resx b/BSODPrank/Properties/Resources.resx index af7dbeb..205c600 100644 --- a/BSODPrank/Properties/Resources.resx +++ b/BSODPrank/Properties/Resources.resx @@ -46,7 +46,7 @@ mimetype: application/x-microsoft.net.object.binary.base64 value : The object must be serialized with - : System.Serialization.Formatters.Binary.BinaryFormatter + : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter : and then encoded with base64 encoding. mimetype: application/x-microsoft.net.object.soap.base64 @@ -60,6 +60,7 @@ : and then encoded with base64 encoding. --> + @@ -68,9 +69,10 @@ - + + @@ -85,9 +87,10 @@ - + + @@ -109,9 +112,16 @@ 2.0 - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + ..\Resources\Bleep-SoundBible.com-1927126940.wav;System.IO.MemoryStream, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + ..\Resources\bsod.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + \ No newline at end of file diff --git a/BSODPrank/Resources/Bleep-SoundBible.com-1927126940.wav b/BSODPrank/Resources/Bleep-SoundBible.com-1927126940.wav new file mode 100644 index 0000000..d0dcf84 Binary files /dev/null and b/BSODPrank/Resources/Bleep-SoundBible.com-1927126940.wav differ diff --git a/BSODPrank/Resources/bsod.png b/BSODPrank/Resources/bsod.png new file mode 100644 index 0000000..c9da8b8 Binary files /dev/null and b/BSODPrank/Resources/bsod.png differ -- cgit v1.2.3