From b88e55809ee2a8696b679fe0e61fc277a0936d9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Peyronnet?= Date: Tue, 9 Jun 2020 14:19:30 +0200 Subject: [PATCH] =?UTF-8?q?Les=20boutons=20dans=20la=20fen=C3=AAtre=20"Loc?= =?UTF-8?q?aliser=20une=20IP"=20n'ont=20pas=20d'ic=C3=B4nes=20(#98)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- InternetTest/Forms/LocalizeIP.Designer.cs | 10 +++---- InternetTest/Properties/Resources.Designer.cs | 30 +++++++++++++++++++ InternetTest/Properties/Resources.resx | 13 ++++++-- 3 files changed, 46 insertions(+), 7 deletions(-) diff --git a/InternetTest/Forms/LocalizeIP.Designer.cs b/InternetTest/Forms/LocalizeIP.Designer.cs index 70a8a802..6e306161 100644 --- a/InternetTest/Forms/LocalizeIP.Designer.cs +++ b/InternetTest/Forms/LocalizeIP.Designer.cs @@ -189,8 +189,8 @@ private void InitializeComponent() this.gunaGradientButton5.FocusedColor = System.Drawing.Color.Empty; this.gunaGradientButton5.Font = new System.Drawing.Font("Segoe UI", 10.5F, System.Drawing.FontStyle.Bold); this.gunaGradientButton5.ForeColor = System.Drawing.Color.White; - this.gunaGradientButton5.Image = global::InternetTest.Properties.Resources.icons8_settings_100px; - this.gunaGradientButton5.ImageSize = new System.Drawing.Size(18, 18); + this.gunaGradientButton5.Image = global::InternetTest.Properties.Resources.location; + this.gunaGradientButton5.ImageSize = new System.Drawing.Size(20, 20); this.gunaGradientButton5.Location = new System.Drawing.Point(177, 43); this.gunaGradientButton5.Name = "gunaGradientButton5"; this.gunaGradientButton5.OnHoverBaseColor1 = System.Drawing.Color.DodgerBlue; @@ -241,15 +241,15 @@ private void InitializeComponent() this.gunaGradientButton1.FocusedColor = System.Drawing.Color.Empty; this.gunaGradientButton1.Font = new System.Drawing.Font("Segoe UI", 10.5F, System.Drawing.FontStyle.Bold); this.gunaGradientButton1.ForeColor = System.Drawing.Color.Black; - this.gunaGradientButton1.Image = global::InternetTest.Properties.Resources.icons8_settings_100px; - this.gunaGradientButton1.ImageSize = new System.Drawing.Size(18, 18); + this.gunaGradientButton1.Image = global::InternetTest.Properties.Resources.person_black; + this.gunaGradientButton1.ImageSize = new System.Drawing.Size(20, 20); this.gunaGradientButton1.Location = new System.Drawing.Point(338, 43); this.gunaGradientButton1.Name = "gunaGradientButton1"; this.gunaGradientButton1.OnHoverBaseColor1 = System.Drawing.Color.DodgerBlue; this.gunaGradientButton1.OnHoverBaseColor2 = System.Drawing.Color.MediumBlue; this.gunaGradientButton1.OnHoverBorderColor = System.Drawing.Color.Black; this.gunaGradientButton1.OnHoverForeColor = System.Drawing.Color.White; - this.gunaGradientButton1.OnHoverImage = null; + this.gunaGradientButton1.OnHoverImage = global::InternetTest.Properties.Resources.person_white; this.gunaGradientButton1.OnPressedColor = System.Drawing.Color.Black; this.gunaGradientButton1.Radius = 6; this.gunaGradientButton1.Size = new System.Drawing.Size(97, 29); diff --git a/InternetTest/Properties/Resources.Designer.cs b/InternetTest/Properties/Resources.Designer.cs index c4e2b8ff..b8b70b9f 100644 --- a/InternetTest/Properties/Resources.Designer.cs +++ b/InternetTest/Properties/Resources.Designer.cs @@ -340,6 +340,36 @@ internal class Resources { } } + /// + /// Recherche une ressource localisée de type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap location { + get { + object obj = ResourceManager.GetObject("location", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Recherche une ressource localisée de type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap person_black { + get { + object obj = ResourceManager.GetObject("person black", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Recherche une ressource localisée de type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap person_white { + get { + object obj = ResourceManager.GetObject("person white", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + /// /// Recherche une ressource localisée de type System.Drawing.Bitmap. /// diff --git a/InternetTest/Properties/Resources.resx b/InternetTest/Properties/Resources.resx index 8ea1c148..476450f9 100644 --- a/InternetTest/Properties/Resources.resx +++ b/InternetTest/Properties/Resources.resx @@ -163,6 +163,9 @@ ..\Resources\icons8_subtract_100px.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\edit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\icons8_download_100px.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -208,7 +211,13 @@ ..\Resources\icons8_github_100px.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\edit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\location.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\person black.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\person white.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a \ No newline at end of file