From 58a3f4b0b9b15782c4f0f79b2e9c4b46d983a1c0 Mon Sep 17 00:00:00 2001 From: Michael Johne Date: Wed, 6 May 2020 22:01:25 +0200 Subject: [PATCH] Add files via upload --- EmojiLib/EmojiLib.csproj | 44 +++++ EmojiLib/FaceSleepy.Designer.cs | 308 ++++++++++++++++++++++++++++++++ EmojiLib/FaceSleepy.resx | 226 +++++++++++++++++++++++ EmojiLib/MainForm.Designer.cs | 144 ++++++++++++++- EmojiLib/MainForm.cs | 105 +++++++++++ 5 files changed, 825 insertions(+), 2 deletions(-) create mode 100644 EmojiLib/FaceSleepy.Designer.cs create mode 100644 EmojiLib/FaceSleepy.resx diff --git a/EmojiLib/EmojiLib.csproj b/EmojiLib/EmojiLib.csproj index 0a895f7..926ab2b 100644 --- a/EmojiLib/EmojiLib.csproj +++ b/EmojiLib/EmojiLib.csproj @@ -98,6 +98,11 @@ True FaceNeutralSkeptical.resx + + True + True + FaceSleepy.resx + True True @@ -135,6 +140,10 @@ FaceNeutralSkeptical.Designer.cs Designer + + ResXFileCodeGenerator + FaceSleepy.Designer.cs + ResXFileCodeGenerator FaceSmiling.Designer.cs @@ -169,6 +178,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/EmojiLib/FaceSleepy.Designer.cs b/EmojiLib/FaceSleepy.Designer.cs new file mode 100644 index 0000000..7e84484 --- /dev/null +++ b/EmojiLib/FaceSleepy.Designer.cs @@ -0,0 +1,308 @@ +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.1022 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +namespace EmojiLib { + using System; + + + /// + /// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw. + /// + // Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert + // -Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert. + // Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen + // mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class FaceSleepy { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal FaceSleepy() { + } + + /// + /// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("EmojiLib.FaceSleepy", typeof(FaceSleepy).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle + /// Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + internal static System.Drawing.Bitmap DroolingFaceApple { + get { + object obj = ResourceManager.GetObject("DroolingFaceApple", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap DroolingFaceFacebook { + get { + object obj = ResourceManager.GetObject("DroolingFaceFacebook", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap DroolingFaceGoogle { + get { + object obj = ResourceManager.GetObject("DroolingFaceGoogle", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap DroolingFaceJoyPixels { + get { + object obj = ResourceManager.GetObject("DroolingFaceJoyPixels", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap DroolingFaceSamsung { + get { + object obj = ResourceManager.GetObject("DroolingFaceSamsung", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap DroolingFaceTwitter { + get { + object obj = ResourceManager.GetObject("DroolingFaceTwitter", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap DroolingFaceWindows { + get { + object obj = ResourceManager.GetObject("DroolingFaceWindows", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap PensiveFaceApple { + get { + object obj = ResourceManager.GetObject("PensiveFaceApple", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap PensiveFaceFacebook { + get { + object obj = ResourceManager.GetObject("PensiveFaceFacebook", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap PensiveFaceGoogle { + get { + object obj = ResourceManager.GetObject("PensiveFaceGoogle", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap PensiveFaceJoyPixels { + get { + object obj = ResourceManager.GetObject("PensiveFaceJoyPixels", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap PensiveFaceSamsung { + get { + object obj = ResourceManager.GetObject("PensiveFaceSamsung", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap PensiveFaceTwitter { + get { + object obj = ResourceManager.GetObject("PensiveFaceTwitter", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap PensiveFaceWindows { + get { + object obj = ResourceManager.GetObject("PensiveFaceWindows", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap RelievedFaceApple { + get { + object obj = ResourceManager.GetObject("RelievedFaceApple", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap RelievedFaceFacebook { + get { + object obj = ResourceManager.GetObject("RelievedFaceFacebook", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap RelievedFaceGoogle { + get { + object obj = ResourceManager.GetObject("RelievedFaceGoogle", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap RelievedFaceJoyPixels { + get { + object obj = ResourceManager.GetObject("RelievedFaceJoyPixels", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap RelievedFaceSamsung { + get { + object obj = ResourceManager.GetObject("RelievedFaceSamsung", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap RelievedFaceTwitter { + get { + object obj = ResourceManager.GetObject("RelievedFaceTwitter", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap RelievedFaceWindows { + get { + object obj = ResourceManager.GetObject("RelievedFaceWindows", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap SleepingFaceApple { + get { + object obj = ResourceManager.GetObject("SleepingFaceApple", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap SleepingFaceFacebook { + get { + object obj = ResourceManager.GetObject("SleepingFaceFacebook", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap SleepingFaceGoogle { + get { + object obj = ResourceManager.GetObject("SleepingFaceGoogle", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap SleepingFaceJoyPixels { + get { + object obj = ResourceManager.GetObject("SleepingFaceJoyPixels", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap SleepingFaceSamsung { + get { + object obj = ResourceManager.GetObject("SleepingFaceSamsung", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap SleepingFaceTwitter { + get { + object obj = ResourceManager.GetObject("SleepingFaceTwitter", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap SleepingFaceWindows { + get { + object obj = ResourceManager.GetObject("SleepingFaceWindows", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap SleepyFaceApple { + get { + object obj = ResourceManager.GetObject("SleepyFaceApple", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap SleepyFaceFacebook { + get { + object obj = ResourceManager.GetObject("SleepyFaceFacebook", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap SleepyFaceGoogle { + get { + object obj = ResourceManager.GetObject("SleepyFaceGoogle", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap SleepyFaceJoyPixels { + get { + object obj = ResourceManager.GetObject("SleepyFaceJoyPixels", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap SleepyFaceSamsung { + get { + object obj = ResourceManager.GetObject("SleepyFaceSamsung", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap SleepyFaceTwitter { + get { + object obj = ResourceManager.GetObject("SleepyFaceTwitter", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap SleepyFaceWindows { + get { + object obj = ResourceManager.GetObject("SleepyFaceWindows", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + } +} diff --git a/EmojiLib/FaceSleepy.resx b/EmojiLib/FaceSleepy.resx new file mode 100644 index 0000000..ca5eae5 --- /dev/null +++ b/EmojiLib/FaceSleepy.resx @@ -0,0 +1,226 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + + Resources\DroolingFaceApple.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\DroolingFaceFacebook.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\DroolingFaceGoogle.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\DroolingFaceJoyPixels.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\DroolingFaceSamsung.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\DroolingFaceTwitter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\DroolingFaceWindows.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\PensiveFaceApple.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\PensiveFaceFacebook.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\PensiveFaceGoogle.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\PensiveFaceJoyPixels.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\PensiveFaceSamsung.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\PensiveFaceTwitter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\PensiveFaceWindows.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\RelievedFaceApple.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\RelievedFaceFacebook.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\RelievedFaceGoogle.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\RelievedFaceJoyPixels.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\RelievedFaceSamsung.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\RelievedFaceTwitter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\RelievedFaceWindows.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\SleepingFaceApple.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\SleepingFaceFacebook.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\SleepingFaceGoogle.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\SleepingFaceJoyPixels.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\SleepingFaceSamsung.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\SleepingFaceTwitter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\SleepingFaceWindows.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\SleepyFaceApple.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\SleepyFaceFacebook.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\SleepyFaceGoogle.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\SleepyFaceJoyPixels.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\SleepyFaceSamsung.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\SleepyFaceTwitter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\SleepyFaceWindows.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + \ No newline at end of file diff --git a/EmojiLib/MainForm.Designer.cs b/EmojiLib/MainForm.Designer.cs index f0592ce..3532032 100644 --- a/EmojiLib/MainForm.Designer.cs +++ b/EmojiLib/MainForm.Designer.cs @@ -75,6 +75,11 @@ private void InitializeComponent() this.buttonFaceWithRollingEyes = new System.Windows.Forms.Button(); this.buttonGrimacingFace = new System.Windows.Forms.Button(); this.buttonLyingFace = new System.Windows.Forms.Button(); + this.buttonRelievedFace = new System.Windows.Forms.Button(); + this.buttonPensiveFace = new System.Windows.Forms.Button(); + this.buttonSleepyFace = new System.Windows.Forms.Button(); + this.buttonDroolingFace = new System.Windows.Forms.Button(); + this.buttonSleepingFace = new System.Windows.Forms.Button(); this.statusStrip = new System.Windows.Forms.StatusStrip(); this.labelInformation = new System.Windows.Forms.ToolStripStatusLabel(); this.labelCopiedStatus = new System.Windows.Forms.ToolStripStatusLabel(); @@ -174,6 +179,11 @@ private void InitializeComponent() this.flowLayoutPanelSmileys.Controls.Add(this.buttonFaceWithRollingEyes); this.flowLayoutPanelSmileys.Controls.Add(this.buttonGrimacingFace); this.flowLayoutPanelSmileys.Controls.Add(this.buttonLyingFace); + this.flowLayoutPanelSmileys.Controls.Add(this.buttonRelievedFace); + this.flowLayoutPanelSmileys.Controls.Add(this.buttonPensiveFace); + this.flowLayoutPanelSmileys.Controls.Add(this.buttonSleepyFace); + this.flowLayoutPanelSmileys.Controls.Add(this.buttonDroolingFace); + this.flowLayoutPanelSmileys.Controls.Add(this.buttonSleepingFace); this.flowLayoutPanelSmileys.Dock = System.Windows.Forms.DockStyle.Fill; this.flowLayoutPanelSmileys.Location = new System.Drawing.Point(3, 3); this.flowLayoutPanelSmileys.Name = "flowLayoutPanelSmileys"; @@ -1230,6 +1240,131 @@ private void InitializeComponent() this.buttonLyingFace.MouseEnter += new System.EventHandler(this.SetStatusbar_Enter); this.buttonLyingFace.MouseLeave += new System.EventHandler(this.ClearStatusbar_Leave); // + // buttonRelievedFace + // + this.buttonRelievedFace.AccessibleDescription = "relieved face"; + this.buttonRelievedFace.AccessibleName = "relieved face"; + this.buttonRelievedFace.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; + this.buttonRelievedFace.BackgroundImage = global::EmojiLib.FaceSleepy.RelievedFaceGoogle; + this.buttonRelievedFace.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; + this.buttonRelievedFace.FlatAppearance.BorderSize = 0; + this.buttonRelievedFace.FlatAppearance.CheckedBackColor = System.Drawing.SystemColors.ControlDarkDark; + this.buttonRelievedFace.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.ControlDark; + this.buttonRelievedFace.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.buttonRelievedFace.Location = new System.Drawing.Point(192, 96); + this.buttonRelievedFace.Margin = new System.Windows.Forms.Padding(0); + this.buttonRelievedFace.Name = "buttonRelievedFace"; + this.buttonRelievedFace.Size = new System.Drawing.Size(32, 32); + this.buttonRelievedFace.TabIndex = 43; + this.buttonRelievedFace.Tag = "😌"; + this.toolTip.SetToolTip(this.buttonRelievedFace, "relieved face"); + this.buttonRelievedFace.UseVisualStyleBackColor = true; + this.buttonRelievedFace.Click += new System.EventHandler(this.ButtonRelievedFace_Click); + this.buttonRelievedFace.Enter += new System.EventHandler(this.SetStatusbar_Enter); + this.buttonRelievedFace.Leave += new System.EventHandler(this.ClearStatusbar_Leave); + this.buttonRelievedFace.MouseEnter += new System.EventHandler(this.SetStatusbar_Enter); + this.buttonRelievedFace.MouseLeave += new System.EventHandler(this.ClearStatusbar_Leave); + // + // buttonPensiveFace + // + this.buttonPensiveFace.AccessibleDescription = "pensive face"; + this.buttonPensiveFace.AccessibleName = "pensive face"; + this.buttonPensiveFace.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; + this.buttonPensiveFace.BackgroundImage = global::EmojiLib.FaceSleepy.PensiveFaceGoogle; + this.buttonPensiveFace.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; + this.buttonPensiveFace.FlatAppearance.BorderSize = 0; + this.buttonPensiveFace.FlatAppearance.CheckedBackColor = System.Drawing.SystemColors.ControlDarkDark; + this.buttonPensiveFace.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.ControlDark; + this.buttonPensiveFace.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.buttonPensiveFace.Location = new System.Drawing.Point(224, 96); + this.buttonPensiveFace.Margin = new System.Windows.Forms.Padding(0); + this.buttonPensiveFace.Name = "buttonPensiveFace"; + this.buttonPensiveFace.Size = new System.Drawing.Size(32, 32); + this.buttonPensiveFace.TabIndex = 44; + this.buttonPensiveFace.Tag = "😔"; + this.toolTip.SetToolTip(this.buttonPensiveFace, "pensive face"); + this.buttonPensiveFace.UseVisualStyleBackColor = true; + this.buttonPensiveFace.Click += new System.EventHandler(this.ButtonPensiveFace_Click); + this.buttonPensiveFace.Enter += new System.EventHandler(this.SetStatusbar_Enter); + this.buttonPensiveFace.Leave += new System.EventHandler(this.ClearStatusbar_Leave); + this.buttonPensiveFace.MouseEnter += new System.EventHandler(this.SetStatusbar_Enter); + this.buttonPensiveFace.MouseLeave += new System.EventHandler(this.ClearStatusbar_Leave); + // + // buttonSleepyFace + // + this.buttonSleepyFace.AccessibleDescription = "sleepy face"; + this.buttonSleepyFace.AccessibleName = "sleepy face"; + this.buttonSleepyFace.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; + this.buttonSleepyFace.BackgroundImage = global::EmojiLib.FaceSleepy.SleepyFaceGoogle; + this.buttonSleepyFace.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; + this.buttonSleepyFace.FlatAppearance.BorderSize = 0; + this.buttonSleepyFace.FlatAppearance.CheckedBackColor = System.Drawing.SystemColors.ControlDarkDark; + this.buttonSleepyFace.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.ControlDark; + this.buttonSleepyFace.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.buttonSleepyFace.Location = new System.Drawing.Point(256, 96); + this.buttonSleepyFace.Margin = new System.Windows.Forms.Padding(0); + this.buttonSleepyFace.Name = "buttonSleepyFace"; + this.buttonSleepyFace.Size = new System.Drawing.Size(32, 32); + this.buttonSleepyFace.TabIndex = 45; + this.buttonSleepyFace.Tag = "😪"; + this.toolTip.SetToolTip(this.buttonSleepyFace, "sleepy face"); + this.buttonSleepyFace.UseVisualStyleBackColor = true; + this.buttonSleepyFace.Click += new System.EventHandler(this.ButtonSleepyFace_Click); + this.buttonSleepyFace.Enter += new System.EventHandler(this.SetStatusbar_Enter); + this.buttonSleepyFace.Leave += new System.EventHandler(this.ClearStatusbar_Leave); + this.buttonSleepyFace.MouseEnter += new System.EventHandler(this.SetStatusbar_Enter); + this.buttonSleepyFace.MouseLeave += new System.EventHandler(this.ClearStatusbar_Leave); + // + // buttonDroolingFace + // + this.buttonDroolingFace.AccessibleDescription = "drooling face"; + this.buttonDroolingFace.AccessibleName = "drooling face"; + this.buttonDroolingFace.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; + this.buttonDroolingFace.BackgroundImage = global::EmojiLib.FaceSleepy.DroolingFaceGoogle; + this.buttonDroolingFace.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; + this.buttonDroolingFace.FlatAppearance.BorderSize = 0; + this.buttonDroolingFace.FlatAppearance.CheckedBackColor = System.Drawing.SystemColors.ControlDarkDark; + this.buttonDroolingFace.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.ControlDark; + this.buttonDroolingFace.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.buttonDroolingFace.Location = new System.Drawing.Point(288, 96); + this.buttonDroolingFace.Margin = new System.Windows.Forms.Padding(0); + this.buttonDroolingFace.Name = "buttonDroolingFace"; + this.buttonDroolingFace.Size = new System.Drawing.Size(32, 32); + this.buttonDroolingFace.TabIndex = 46; + this.buttonDroolingFace.Tag = "🤤"; + this.toolTip.SetToolTip(this.buttonDroolingFace, "drooling face"); + this.buttonDroolingFace.UseVisualStyleBackColor = true; + this.buttonDroolingFace.Click += new System.EventHandler(this.ButtonDroolingFace_Click); + this.buttonDroolingFace.Enter += new System.EventHandler(this.SetStatusbar_Enter); + this.buttonDroolingFace.Leave += new System.EventHandler(this.ClearStatusbar_Leave); + this.buttonDroolingFace.MouseEnter += new System.EventHandler(this.SetStatusbar_Enter); + this.buttonDroolingFace.MouseLeave += new System.EventHandler(this.ClearStatusbar_Leave); + // + // buttonSleepingFace + // + this.buttonSleepingFace.AccessibleDescription = "sleeping face"; + this.buttonSleepingFace.AccessibleName = "sleeping face"; + this.buttonSleepingFace.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; + this.buttonSleepingFace.BackgroundImage = global::EmojiLib.FaceSleepy.SleepingFaceGoogle; + this.buttonSleepingFace.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; + this.buttonSleepingFace.FlatAppearance.BorderSize = 0; + this.buttonSleepingFace.FlatAppearance.CheckedBackColor = System.Drawing.SystemColors.ControlDarkDark; + this.buttonSleepingFace.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.ControlDark; + this.buttonSleepingFace.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.buttonSleepingFace.Location = new System.Drawing.Point(320, 96); + this.buttonSleepingFace.Margin = new System.Windows.Forms.Padding(0); + this.buttonSleepingFace.Name = "buttonSleepingFace"; + this.buttonSleepingFace.Size = new System.Drawing.Size(32, 32); + this.buttonSleepingFace.TabIndex = 47; + this.buttonSleepingFace.Tag = "😴"; + this.toolTip.SetToolTip(this.buttonSleepingFace, "sleeping face"); + this.buttonSleepingFace.UseVisualStyleBackColor = true; + this.buttonSleepingFace.Click += new System.EventHandler(this.ButtonSleepingFace_Click); + this.buttonSleepingFace.Enter += new System.EventHandler(this.SetStatusbar_Enter); + this.buttonSleepingFace.Leave += new System.EventHandler(this.ClearStatusbar_Leave); + this.buttonSleepingFace.MouseEnter += new System.EventHandler(this.SetStatusbar_Enter); + this.buttonSleepingFace.MouseLeave += new System.EventHandler(this.ClearStatusbar_Leave); + // // statusStrip // this.statusStrip.Dock = System.Windows.Forms.DockStyle.None; @@ -1313,7 +1448,7 @@ private void InitializeComponent() // this.toolStripMenuItemAboutBox.Image = global::EmojiLib.Properties.Resources.fatcow_information; this.toolStripMenuItemAboutBox.Name = "toolStripMenuItemAboutBox"; - this.toolStripMenuItemAboutBox.Size = new System.Drawing.Size(152, 22); + this.toolStripMenuItemAboutBox.Size = new System.Drawing.Size(115, 22); this.toolStripMenuItemAboutBox.Text = "&About..."; this.toolStripMenuItemAboutBox.Click += new System.EventHandler(this.toolStripMenuItemAboutBox_Click); // @@ -1322,7 +1457,7 @@ private void InitializeComponent() this.toolStripMenuItemExit.AutoToolTip = true; this.toolStripMenuItemExit.Image = global::EmojiLib.Properties.Resources.fatcow_door; this.toolStripMenuItemExit.Name = "toolStripMenuItemExit"; - this.toolStripMenuItemExit.Size = new System.Drawing.Size(152, 22); + this.toolStripMenuItemExit.Size = new System.Drawing.Size(115, 22); this.toolStripMenuItemExit.Text = "&Exit"; this.toolStripMenuItemExit.Click += new System.EventHandler(this.Exit_Click); // @@ -1516,6 +1651,11 @@ private void InitializeComponent() private System.Windows.Forms.ToolStripButton buttonEmojiSize24; private System.Windows.Forms.ToolStripButton buttonEmojiSize32; private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemAboutBox; + private System.Windows.Forms.Button buttonRelievedFace; + private System.Windows.Forms.Button buttonPensiveFace; + private System.Windows.Forms.Button buttonSleepyFace; + private System.Windows.Forms.Button buttonDroolingFace; + private System.Windows.Forms.Button buttonSleepingFace; } } diff --git a/EmojiLib/MainForm.cs b/EmojiLib/MainForm.cs index 0e9eded..66b84f3 100644 --- a/EmojiLib/MainForm.cs +++ b/EmojiLib/MainForm.cs @@ -1111,5 +1111,110 @@ private void ButtonLyingFace_Click(object sender, EventArgs e) FaceNeutralSkeptical.LyingFaceSamsung); } } + + private void ButtonRelievedFace_Click(object sender, EventArgs e) + { + if (buttonPickerMode.Checked) + { + CopyToClipboard(buttonRelievedFace.Tag.ToString()); + } + else + { + ShowEmojiInfo("U+1F60C", buttonRelievedFace.AccessibleName, + Properties.Resources.smileysAndEmotion, Properties.Resources.faceSleepy, + buttonRelievedFace.Tag, + FaceSleepy.RelievedFaceApple, + FaceSleepy.RelievedFaceGoogle, + FaceSleepy.RelievedFaceFacebook, + FaceSleepy.RelievedFaceWindows, + FaceSleepy.RelievedFaceTwitter, + FaceSleepy.RelievedFaceJoyPixels, + FaceSleepy.RelievedFaceSamsung); + } + } + + private void ButtonPensiveFace_Click(object sender, EventArgs e) + { + if (buttonPickerMode.Checked) + { + CopyToClipboard(buttonPensiveFace.Tag.ToString()); + } + else + { + ShowEmojiInfo("U+1F614", buttonPensiveFace.AccessibleName, + Properties.Resources.smileysAndEmotion, Properties.Resources.faceSleepy, + buttonPensiveFace.Tag, + FaceSleepy.PensiveFaceApple, + FaceSleepy.PensiveFaceGoogle, + FaceSleepy.PensiveFaceFacebook, + FaceSleepy.PensiveFaceWindows, + FaceSleepy.PensiveFaceTwitter, + FaceSleepy.PensiveFaceJoyPixels, + FaceSleepy.PensiveFaceSamsung); + } + } + + private void ButtonSleepyFace_Click(object sender, EventArgs e) + { + if (buttonPickerMode.Checked) + { + CopyToClipboard(buttonSleepyFace.Tag.ToString()); + } + else + { + ShowEmojiInfo("U+1F62A", buttonSleepyFace.AccessibleName, + Properties.Resources.smileysAndEmotion, Properties.Resources.faceSleepy, + buttonSleepyFace.Tag, + FaceSleepy.SleepyFaceApple, + FaceSleepy.SleepyFaceGoogle, + FaceSleepy.SleepyFaceFacebook, + FaceSleepy.SleepyFaceWindows, + FaceSleepy.SleepyFaceTwitter, + FaceSleepy.SleepyFaceJoyPixels, + FaceSleepy.SleepyFaceSamsung); + } + } + + private void ButtonDroolingFace_Click(object sender, EventArgs e) + { + if (buttonPickerMode.Checked) + { + CopyToClipboard(buttonDroolingFace.Tag.ToString()); + } + else + { + ShowEmojiInfo("U+1F924", buttonDroolingFace.AccessibleName, + Properties.Resources.smileysAndEmotion, Properties.Resources.faceSleepy, + buttonDroolingFace.Tag, + FaceSleepy.DroolingFaceApple, + FaceSleepy.DroolingFaceGoogle, + FaceSleepy.DroolingFaceFacebook, + FaceSleepy.DroolingFaceWindows, + FaceSleepy.DroolingFaceTwitter, + FaceSleepy.DroolingFaceJoyPixels, + FaceSleepy.DroolingFaceSamsung); + } + } + + private void ButtonSleepingFace_Click(object sender, EventArgs e) + { + if (buttonPickerMode.Checked) + { + CopyToClipboard(buttonSleepingFace.Tag.ToString()); + } + else + { + ShowEmojiInfo("U+1F634", buttonSleepingFace.AccessibleName, + Properties.Resources.smileysAndEmotion, Properties.Resources.faceSleepy, + buttonSleepingFace.Tag, + FaceSleepy.SleepingFaceApple, + FaceSleepy.SleepingFaceGoogle, + FaceSleepy.SleepingFaceFacebook, + FaceSleepy.SleepingFaceWindows, + FaceSleepy.SleepingFaceTwitter, + FaceSleepy.SleepingFaceJoyPixels, + FaceSleepy.SleepingFaceSamsung); + } + } } } \ No newline at end of file