From f370d8a789da6af551b17890ff9287e2ba5c741f Mon Sep 17 00:00:00 2001 From: Michael Johne Date: Mon, 4 May 2020 22:51:45 +0200 Subject: [PATCH] Add files via upload --- EmojiLib/EmojiLib.csproj | 37 +++++ EmojiLib/FaceHand.Designer.cs | 259 ++++++++++++++++++++++++++++++++++ EmojiLib/FaceHand.resx | 205 +++++++++++++++++++++++++++ EmojiLib/MainForm.Designer.cs | 125 +++++++++++++++- EmojiLib/MainForm.cs | 60 ++++++++ 5 files changed, 684 insertions(+), 2 deletions(-) create mode 100644 EmojiLib/FaceHand.Designer.cs create mode 100644 EmojiLib/FaceHand.resx diff --git a/EmojiLib/EmojiLib.csproj b/EmojiLib/EmojiLib.csproj index 413ccb8..0fb16a8 100644 --- a/EmojiLib/EmojiLib.csproj +++ b/EmojiLib/EmojiLib.csproj @@ -82,6 +82,11 @@ True FaceAffection.resx + + True + True + FaceHand.resx + True True @@ -107,6 +112,10 @@ ResXFileCodeGenerator FaceAffection.Designer.cs + + ResXFileCodeGenerator + FaceHand.Designer.cs + ResXFileCodeGenerator FaceSmiling.Designer.cs @@ -141,6 +150,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/EmojiLib/FaceHand.Designer.cs b/EmojiLib/FaceHand.Designer.cs new file mode 100644 index 0000000..03975e2 --- /dev/null +++ b/EmojiLib/FaceHand.Designer.cs @@ -0,0 +1,259 @@ +//------------------------------------------------------------------------------ +// +// 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 FaceHand { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal FaceHand() { + } + + /// + /// 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.FaceHand", typeof(FaceHand).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 FaceWithHandOverMouthApple { + get { + object obj = ResourceManager.GetObject("FaceWithHandOverMouthApple", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap FaceWithHandOverMouthFacebook { + get { + object obj = ResourceManager.GetObject("FaceWithHandOverMouthFacebook", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap FaceWithHandOverMouthGoogle { + get { + object obj = ResourceManager.GetObject("FaceWithHandOverMouthGoogle", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap FaceWithHandOverMouthJoyPixels { + get { + object obj = ResourceManager.GetObject("FaceWithHandOverMouthJoyPixels", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap FaceWithHandOverMouthSamsung { + get { + object obj = ResourceManager.GetObject("FaceWithHandOverMouthSamsung", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap FaceWithHandOverMouthTwitter { + get { + object obj = ResourceManager.GetObject("FaceWithHandOverMouthTwitter", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap FaceWithHandOverMouthWindows { + get { + object obj = ResourceManager.GetObject("FaceWithHandOverMouthWindows", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap HuggingFaceApple { + get { + object obj = ResourceManager.GetObject("HuggingFaceApple", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap HuggingFaceFacebook { + get { + object obj = ResourceManager.GetObject("HuggingFaceFacebook", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap HuggingFaceGoogle { + get { + object obj = ResourceManager.GetObject("HuggingFaceGoogle", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap HuggingFaceJoyPixels { + get { + object obj = ResourceManager.GetObject("HuggingFaceJoyPixels", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap HuggingFaceSamsung { + get { + object obj = ResourceManager.GetObject("HuggingFaceSamsung", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap HuggingFaceTwitter { + get { + object obj = ResourceManager.GetObject("HuggingFaceTwitter", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap HuggingFaceWindows { + get { + object obj = ResourceManager.GetObject("HuggingFaceWindows", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap ShushingFaceApple { + get { + object obj = ResourceManager.GetObject("ShushingFaceApple", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap ShushingFaceFacebook { + get { + object obj = ResourceManager.GetObject("ShushingFaceFacebook", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap ShushingFaceGoogle { + get { + object obj = ResourceManager.GetObject("ShushingFaceGoogle", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap ShushingFaceJoyPixels { + get { + object obj = ResourceManager.GetObject("ShushingFaceJoyPixels", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap ShushingFaceSamsung { + get { + object obj = ResourceManager.GetObject("ShushingFaceSamsung", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap ShushingFaceTwitter { + get { + object obj = ResourceManager.GetObject("ShushingFaceTwitter", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap ShushingFaceWindows { + get { + object obj = ResourceManager.GetObject("ShushingFaceWindows", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap ThinkingFaceApple { + get { + object obj = ResourceManager.GetObject("ThinkingFaceApple", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap ThinkingFaceFacebook { + get { + object obj = ResourceManager.GetObject("ThinkingFaceFacebook", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap ThinkingFaceGoogle { + get { + object obj = ResourceManager.GetObject("ThinkingFaceGoogle", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap ThinkingFaceJoyPixels { + get { + object obj = ResourceManager.GetObject("ThinkingFaceJoyPixels", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap ThinkingFaceSamsung { + get { + object obj = ResourceManager.GetObject("ThinkingFaceSamsung", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap ThinkingFaceTwitter { + get { + object obj = ResourceManager.GetObject("ThinkingFaceTwitter", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap ThinkingFaceWindows { + get { + object obj = ResourceManager.GetObject("ThinkingFaceWindows", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + } +} diff --git a/EmojiLib/FaceHand.resx b/EmojiLib/FaceHand.resx new file mode 100644 index 0000000..1df16e3 --- /dev/null +++ b/EmojiLib/FaceHand.resx @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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\FaceWithHandOverMouthApple.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\FaceWithHandOverMouthFacebook.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\FaceWithHandOverMouthGoogle.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\FaceWithHandOverMouthJoyPixels.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\FaceWithHandOverMouthSamsung.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\FaceWithHandOverMouthTwitter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\FaceWithHandOverMouthWindows.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\HuggingFaceApple.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\HuggingFaceFacebook.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\HuggingFaceGoogle.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\HuggingFaceJoyPixels.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\HuggingFaceSamsung.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\HuggingFaceTwitter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\HuggingFaceWindows.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\ShushingFaceApple.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\ShushingFaceFacebook.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\ShushingFaceGoogle.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\ShushingFaceJoyPixels.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\ShushingFaceSamsung.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\ShushingFaceTwitter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\ShushingFaceWindows.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\ThinkingFaceApple.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\ThinkingFaceFacebook.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\ThinkingFaceGoogle.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\ThinkingFaceJoyPixels.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\ThinkingFaceSamsung.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\ThinkingFaceTwitter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\ThinkingFaceWindows.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 e5f1a90..90040ed 100644 --- a/EmojiLib/MainForm.Designer.cs +++ b/EmojiLib/MainForm.Designer.cs @@ -61,6 +61,10 @@ private void InitializeComponent() this.buttonZanyFace = new System.Windows.Forms.Button(); this.buttonSquintingFaceWithTongue = new System.Windows.Forms.Button(); this.buttonMoneyMouthFace = new System.Windows.Forms.Button(); + this.buttonHuggingFace = new System.Windows.Forms.Button(); + this.buttonFaceWithHandOverMouth = new System.Windows.Forms.Button(); + this.buttonShushingFace = new System.Windows.Forms.Button(); + this.buttonThinkingFace = new System.Windows.Forms.Button(); this.statusStrip = new System.Windows.Forms.StatusStrip(); this.labelInformation = new System.Windows.Forms.ToolStripStatusLabel(); this.toolStripContainer = new System.Windows.Forms.ToolStripContainer(); @@ -75,6 +79,7 @@ private void InitializeComponent() this.toolStripContainer.ContentPanel.SuspendLayout(); this.toolStripContainer.TopToolStripPanel.SuspendLayout(); this.toolStripContainer.SuspendLayout(); + this.menuStrip.SuspendLayout(); this.SuspendLayout(); // // tabControlEmojis @@ -132,6 +137,10 @@ private void InitializeComponent() this.flowLayoutPanel.Controls.Add(this.buttonZanyFace); this.flowLayoutPanel.Controls.Add(this.buttonSquintingFaceWithTongue); this.flowLayoutPanel.Controls.Add(this.buttonMoneyMouthFace); + this.flowLayoutPanel.Controls.Add(this.buttonHuggingFace); + this.flowLayoutPanel.Controls.Add(this.buttonFaceWithHandOverMouth); + this.flowLayoutPanel.Controls.Add(this.buttonShushingFace); + this.flowLayoutPanel.Controls.Add(this.buttonThinkingFace); this.flowLayoutPanel.Dock = System.Windows.Forms.DockStyle.Fill; this.flowLayoutPanel.Location = new System.Drawing.Point(3, 3); this.flowLayoutPanel.Name = "flowLayoutPanel"; @@ -866,6 +875,110 @@ private void InitializeComponent() this.buttonMoneyMouthFace.MouseEnter += new System.EventHandler(this.SetStatusbar_Enter); this.buttonMoneyMouthFace.MouseLeave += new System.EventHandler(this.ClearStatusbar_Leave); // + // buttonHuggingFace + // + this.buttonHuggingFace.AccessibleDescription = "hugging face"; + this.buttonHuggingFace.AccessibleName = "hugging face"; + this.buttonHuggingFace.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; + this.buttonHuggingFace.BackgroundImage = global::EmojiLib.FaceHand.HuggingFaceGoogle; + this.buttonHuggingFace.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; + this.buttonHuggingFace.FlatAppearance.BorderSize = 0; + this.buttonHuggingFace.FlatAppearance.CheckedBackColor = System.Drawing.SystemColors.ControlDarkDark; + this.buttonHuggingFace.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.ControlDark; + this.buttonHuggingFace.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.ButtonFace; + this.buttonHuggingFace.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.buttonHuggingFace.Location = new System.Drawing.Point(128, 64); + this.buttonHuggingFace.Margin = new System.Windows.Forms.Padding(0); + this.buttonHuggingFace.Name = "buttonHuggingFace"; + this.buttonHuggingFace.Size = new System.Drawing.Size(32, 32); + this.buttonHuggingFace.TabIndex = 28; + this.buttonHuggingFace.Tag = "🤗"; + this.toolTip.SetToolTip(this.buttonHuggingFace, "hugging face"); + this.buttonHuggingFace.UseVisualStyleBackColor = true; + this.buttonHuggingFace.Click += new System.EventHandler(this.ButtonHuggingFace_Click); + this.buttonHuggingFace.Enter += new System.EventHandler(this.SetStatusbar_Enter); + this.buttonHuggingFace.Leave += new System.EventHandler(this.ClearStatusbar_Leave); + this.buttonHuggingFace.MouseEnter += new System.EventHandler(this.SetStatusbar_Enter); + this.buttonHuggingFace.MouseLeave += new System.EventHandler(this.ClearStatusbar_Leave); + // + // buttonFaceWithHandOverMouth + // + this.buttonFaceWithHandOverMouth.AccessibleDescription = "face with hand over mouth"; + this.buttonFaceWithHandOverMouth.AccessibleName = "face with hand over mouth"; + this.buttonFaceWithHandOverMouth.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; + this.buttonFaceWithHandOverMouth.BackgroundImage = global::EmojiLib.FaceHand.FaceWithHandOverMouthGoogle; + this.buttonFaceWithHandOverMouth.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; + this.buttonFaceWithHandOverMouth.FlatAppearance.BorderSize = 0; + this.buttonFaceWithHandOverMouth.FlatAppearance.CheckedBackColor = System.Drawing.SystemColors.ControlDarkDark; + this.buttonFaceWithHandOverMouth.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.ControlDark; + this.buttonFaceWithHandOverMouth.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.ButtonFace; + this.buttonFaceWithHandOverMouth.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.buttonFaceWithHandOverMouth.Location = new System.Drawing.Point(160, 64); + this.buttonFaceWithHandOverMouth.Margin = new System.Windows.Forms.Padding(0); + this.buttonFaceWithHandOverMouth.Name = "buttonFaceWithHandOverMouth"; + this.buttonFaceWithHandOverMouth.Size = new System.Drawing.Size(32, 32); + this.buttonFaceWithHandOverMouth.TabIndex = 29; + this.buttonFaceWithHandOverMouth.Tag = "🤭"; + this.toolTip.SetToolTip(this.buttonFaceWithHandOverMouth, "face with hand over mouth"); + this.buttonFaceWithHandOverMouth.UseVisualStyleBackColor = true; + this.buttonFaceWithHandOverMouth.Click += new System.EventHandler(this.ButtonFaceWithHandOverMouth_Click); + this.buttonFaceWithHandOverMouth.Enter += new System.EventHandler(this.SetStatusbar_Enter); + this.buttonFaceWithHandOverMouth.Leave += new System.EventHandler(this.ClearStatusbar_Leave); + this.buttonFaceWithHandOverMouth.MouseEnter += new System.EventHandler(this.SetStatusbar_Enter); + this.buttonFaceWithHandOverMouth.MouseLeave += new System.EventHandler(this.ClearStatusbar_Leave); + // + // buttonShushingFace + // + this.buttonShushingFace.AccessibleDescription = "shushing face"; + this.buttonShushingFace.AccessibleName = "shushing face"; + this.buttonShushingFace.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; + this.buttonShushingFace.BackgroundImage = global::EmojiLib.FaceHand.ShushingFaceGoogle; + this.buttonShushingFace.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; + this.buttonShushingFace.FlatAppearance.BorderSize = 0; + this.buttonShushingFace.FlatAppearance.CheckedBackColor = System.Drawing.SystemColors.ControlDarkDark; + this.buttonShushingFace.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.ControlDark; + this.buttonShushingFace.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.ButtonFace; + this.buttonShushingFace.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.buttonShushingFace.Location = new System.Drawing.Point(192, 64); + this.buttonShushingFace.Margin = new System.Windows.Forms.Padding(0); + this.buttonShushingFace.Name = "buttonShushingFace"; + this.buttonShushingFace.Size = new System.Drawing.Size(32, 32); + this.buttonShushingFace.TabIndex = 30; + this.buttonShushingFace.Tag = "🤫"; + this.toolTip.SetToolTip(this.buttonShushingFace, "shushing face"); + this.buttonShushingFace.UseVisualStyleBackColor = true; + this.buttonShushingFace.Click += new System.EventHandler(this.ButtonShushingFace_Click); + this.buttonShushingFace.Enter += new System.EventHandler(this.SetStatusbar_Enter); + this.buttonShushingFace.Leave += new System.EventHandler(this.ClearStatusbar_Leave); + this.buttonShushingFace.MouseEnter += new System.EventHandler(this.SetStatusbar_Enter); + this.buttonShushingFace.MouseLeave += new System.EventHandler(this.ClearStatusbar_Leave); + // + // buttonThinkingFace + // + this.buttonThinkingFace.AccessibleDescription = "thinking face"; + this.buttonThinkingFace.AccessibleName = "thinking face"; + this.buttonThinkingFace.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; + this.buttonThinkingFace.BackgroundImage = global::EmojiLib.FaceHand.ThinkingFaceGoogle; + this.buttonThinkingFace.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; + this.buttonThinkingFace.FlatAppearance.BorderSize = 0; + this.buttonThinkingFace.FlatAppearance.CheckedBackColor = System.Drawing.SystemColors.ControlDarkDark; + this.buttonThinkingFace.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.ControlDark; + this.buttonThinkingFace.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.ButtonFace; + this.buttonThinkingFace.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.buttonThinkingFace.Location = new System.Drawing.Point(224, 64); + this.buttonThinkingFace.Margin = new System.Windows.Forms.Padding(0); + this.buttonThinkingFace.Name = "buttonThinkingFace"; + this.buttonThinkingFace.Size = new System.Drawing.Size(32, 32); + this.buttonThinkingFace.TabIndex = 31; + this.buttonThinkingFace.Tag = "🤔"; + this.toolTip.SetToolTip(this.buttonThinkingFace, "thinking face"); + this.buttonThinkingFace.UseVisualStyleBackColor = true; + this.buttonThinkingFace.Click += new System.EventHandler(this.ButtonThinkingFace_Click); + this.buttonThinkingFace.Enter += new System.EventHandler(this.SetStatusbar_Enter); + this.buttonThinkingFace.Leave += new System.EventHandler(this.ClearStatusbar_Leave); + this.buttonThinkingFace.MouseEnter += new System.EventHandler(this.SetStatusbar_Enter); + this.buttonThinkingFace.MouseLeave += new System.EventHandler(this.ClearStatusbar_Leave); + // // statusStrip // this.statusStrip.Dock = System.Windows.Forms.DockStyle.None; @@ -909,6 +1022,8 @@ private void InitializeComponent() // menuStrip // this.menuStrip.Dock = System.Windows.Forms.DockStyle.None; + this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.toolStripMenuItemFile}); this.menuStrip.Location = new System.Drawing.Point(0, 0); this.menuStrip.Name = "menuStrip"; this.menuStrip.RenderMode = System.Windows.Forms.ToolStripRenderMode.System; @@ -958,6 +1073,8 @@ private void InitializeComponent() this.toolStripContainer.TopToolStripPanel.PerformLayout(); this.toolStripContainer.ResumeLayout(false); this.toolStripContainer.PerformLayout(); + this.menuStrip.ResumeLayout(false); + this.menuStrip.PerformLayout(); this.ResumeLayout(false); } @@ -969,8 +1086,6 @@ private void InitializeComponent() private System.Windows.Forms.StatusStrip statusStrip; private System.Windows.Forms.ToolStripContainer toolStripContainer; private System.Windows.Forms.MenuStrip menuStrip; - private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemFile; - private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemExit; private System.Windows.Forms.Button buttonGrinningFace; private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel; private System.Windows.Forms.Button buttonGrinningFaceWithBigEyes; @@ -1002,6 +1117,12 @@ private void InitializeComponent() private System.Windows.Forms.Button buttonZanyFace; private System.Windows.Forms.Button buttonSquintingFaceWithTongue; private System.Windows.Forms.Button buttonMoneyMouthFace; + private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemFile; + private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemExit; + private System.Windows.Forms.Button buttonHuggingFace; + private System.Windows.Forms.Button buttonFaceWithHandOverMouth; + private System.Windows.Forms.Button buttonShushingFace; + private System.Windows.Forms.Button buttonThinkingFace; } } diff --git a/EmojiLib/MainForm.cs b/EmojiLib/MainForm.cs index 6a9846f..d62945a 100644 --- a/EmojiLib/MainForm.cs +++ b/EmojiLib/MainForm.cs @@ -574,5 +574,65 @@ private void ButtonMoneyMouthFace_Click(object sender, EventArgs e) FaceTongue.MoneyMouthFaceSamsung ); } + + private void ButtonHuggingFace_Click(object sender, EventArgs e) + { + ShowEmojiInfo("U+1F917", buttonHuggingFace.AccessibleName, + Properties.Resources.smileysAndEmotion, Properties.Resources.faceHand, + buttonHuggingFace.Tag, + FaceHand.HuggingFaceApple, + FaceHand.HuggingFaceGoogle, + FaceHand.HuggingFaceFacebook, + FaceHand.HuggingFaceWindows, + FaceHand.HuggingFaceTwitter, + FaceHand.HuggingFaceJoyPixels, + FaceHand.HuggingFaceSamsung + ); + } + + private void ButtonFaceWithHandOverMouth_Click(object sender, EventArgs e) + { + ShowEmojiInfo("U+1F92D", buttonFaceWithHandOverMouth.AccessibleName, + Properties.Resources.smileysAndEmotion, Properties.Resources.faceHand, + buttonFaceWithHandOverMouth.Tag, + FaceHand.FaceWithHandOverMouthApple, + FaceHand.FaceWithHandOverMouthGoogle, + FaceHand.FaceWithHandOverMouthFacebook, + FaceHand.FaceWithHandOverMouthWindows, + FaceHand.FaceWithHandOverMouthTwitter, + FaceHand.FaceWithHandOverMouthJoyPixels, + FaceHand.FaceWithHandOverMouthSamsung + ); + } + + private void ButtonShushingFace_Click(object sender, EventArgs e) + { + ShowEmojiInfo("U+1F92B", buttonShushingFace.AccessibleName, + Properties.Resources.smileysAndEmotion, Properties.Resources.faceHand, + buttonShushingFace.Tag, + FaceHand.ShushingFaceApple, + FaceHand.ShushingFaceGoogle, + FaceHand.ShushingFaceFacebook, + FaceHand.ShushingFaceWindows, + FaceHand.ShushingFaceTwitter, + FaceHand.ShushingFaceJoyPixels, + FaceHand.ShushingFaceSamsung + ); + } + + private void ButtonThinkingFace_Click(object sender, EventArgs e) + { + ShowEmojiInfo("U+1F914", buttonThinkingFace.AccessibleName, + Properties.Resources.smileysAndEmotion, Properties.Resources.faceHand, + buttonThinkingFace.Tag, + FaceHand.ThinkingFaceApple, + FaceHand.ThinkingFaceGoogle, + FaceHand.ThinkingFaceFacebook, + FaceHand.ThinkingFaceWindows, + FaceHand.ThinkingFaceTwitter, + FaceHand.ThinkingFaceJoyPixels, + FaceHand.ThinkingFaceSamsung + ); + } } } \ No newline at end of file