From f09b43111ae45c5847b3986c6d48d9ad0c6b122d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Peyronnet?= Date: Sat, 3 Oct 2020 09:58:36 +0200 Subject: [PATCH] Removed sites from the browser (#142) --- InternetTest/Forms/SitesSelector.Designer.cs | 66 +--- InternetTest/Forms/SitesSelector.en-US.resx | 9 + InternetTest/Forms/SitesSelector.fr-FR.resx | 9 + InternetTest/Forms/SitesSelector.resx | 319 ++++++++----------- 4 files changed, 153 insertions(+), 250 deletions(-) diff --git a/InternetTest/Forms/SitesSelector.Designer.cs b/InternetTest/Forms/SitesSelector.Designer.cs index faea31c8..e8972029 100644 --- a/InternetTest/Forms/SitesSelector.Designer.cs +++ b/InternetTest/Forms/SitesSelector.Designer.cs @@ -39,8 +39,6 @@ private void InitializeComponent() this.gunaDragControl2 = new Guna.UI.WinForms.GunaDragControl(this.components); this.gunaGradientTileButton1 = new Guna.UI.WinForms.GunaGradientTileButton(); this.gunaGradientTileButton2 = new Guna.UI.WinForms.GunaGradientTileButton(); - this.gunaGradientTileButton3 = new Guna.UI.WinForms.GunaGradientTileButton(); - this.gunaGradientTileButton4 = new Guna.UI.WinForms.GunaGradientTileButton(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gunaPictureBox1)).BeginInit(); this.SuspendLayout(); @@ -52,11 +50,11 @@ private void InitializeComponent() // // panel1 // - resources.ApplyResources(this.panel1, "panel1"); this.panel1.BackColor = System.Drawing.Color.Transparent; this.panel1.Controls.Add(this.gunaAdvenceTileButton1); this.panel1.Controls.Add(this.gunaPictureBox1); this.panel1.Controls.Add(this.gunaLabel1); + resources.ApplyResources(this.panel1, "panel1"); this.panel1.Name = "panel1"; // // gunaAdvenceTileButton1 @@ -89,9 +87,9 @@ private void InitializeComponent() // // gunaPictureBox1 // - resources.ApplyResources(this.gunaPictureBox1, "gunaPictureBox1"); this.gunaPictureBox1.BaseColor = System.Drawing.Color.White; this.gunaPictureBox1.Image = global::InternetTest.Properties.Resources.InternetTestLogo1; + resources.ApplyResources(this.gunaPictureBox1, "gunaPictureBox1"); this.gunaPictureBox1.Name = "gunaPictureBox1"; this.gunaPictureBox1.TabStop = false; // @@ -110,7 +108,6 @@ private void InitializeComponent() // // gunaGradientTileButton1 // - resources.ApplyResources(this.gunaGradientTileButton1, "gunaGradientTileButton1"); this.gunaGradientTileButton1.Animated = true; this.gunaGradientTileButton1.AnimationHoverSpeed = 0.07F; this.gunaGradientTileButton1.AnimationSpeed = 0.03F; @@ -121,6 +118,7 @@ private void InitializeComponent() this.gunaGradientTileButton1.Cursor = System.Windows.Forms.Cursors.Hand; this.gunaGradientTileButton1.DialogResult = System.Windows.Forms.DialogResult.None; this.gunaGradientTileButton1.FocusedColor = System.Drawing.Color.Empty; + resources.ApplyResources(this.gunaGradientTileButton1, "gunaGradientTileButton1"); this.gunaGradientTileButton1.ForeColor = System.Drawing.Color.White; this.gunaGradientTileButton1.Image = global::InternetTest.Properties.Resources.icons8_bing_100px; this.gunaGradientTileButton1.ImageSize = new System.Drawing.Size(52, 52); @@ -136,7 +134,6 @@ private void InitializeComponent() // // gunaGradientTileButton2 // - resources.ApplyResources(this.gunaGradientTileButton2, "gunaGradientTileButton2"); this.gunaGradientTileButton2.Animated = true; this.gunaGradientTileButton2.AnimationHoverSpeed = 0.07F; this.gunaGradientTileButton2.AnimationSpeed = 0.03F; @@ -147,6 +144,7 @@ private void InitializeComponent() this.gunaGradientTileButton2.Cursor = System.Windows.Forms.Cursors.Hand; this.gunaGradientTileButton2.DialogResult = System.Windows.Forms.DialogResult.None; this.gunaGradientTileButton2.FocusedColor = System.Drawing.Color.Empty; + resources.ApplyResources(this.gunaGradientTileButton2, "gunaGradientTileButton2"); this.gunaGradientTileButton2.ForeColor = System.Drawing.Color.White; this.gunaGradientTileButton2.Image = global::InternetTest.Properties.Resources.icons8_google_100px; this.gunaGradientTileButton2.ImageSize = new System.Drawing.Size(52, 52); @@ -160,65 +158,11 @@ private void InitializeComponent() this.gunaGradientTileButton2.Radius = 6; this.gunaGradientTileButton2.Click += new System.EventHandler(this.gunaGradientTileButton2_Click); // - // gunaGradientTileButton3 - // - resources.ApplyResources(this.gunaGradientTileButton3, "gunaGradientTileButton3"); - this.gunaGradientTileButton3.Animated = true; - this.gunaGradientTileButton3.AnimationHoverSpeed = 0.07F; - this.gunaGradientTileButton3.AnimationSpeed = 0.03F; - this.gunaGradientTileButton3.BackColor = System.Drawing.Color.Transparent; - this.gunaGradientTileButton3.BaseColor1 = System.Drawing.Color.DeepSkyBlue; - this.gunaGradientTileButton3.BaseColor2 = System.Drawing.Color.RoyalBlue; - this.gunaGradientTileButton3.BorderColor = System.Drawing.Color.Black; - this.gunaGradientTileButton3.Cursor = System.Windows.Forms.Cursors.Hand; - this.gunaGradientTileButton3.DialogResult = System.Windows.Forms.DialogResult.None; - this.gunaGradientTileButton3.FocusedColor = System.Drawing.Color.Empty; - this.gunaGradientTileButton3.ForeColor = System.Drawing.Color.White; - this.gunaGradientTileButton3.Image = global::InternetTest.Properties.Resources.icons8_play_button_100px; - this.gunaGradientTileButton3.ImageSize = new System.Drawing.Size(52, 52); - this.gunaGradientTileButton3.Name = "gunaGradientTileButton3"; - this.gunaGradientTileButton3.OnHoverBaseColor1 = System.Drawing.Color.DodgerBlue; - this.gunaGradientTileButton3.OnHoverBaseColor2 = System.Drawing.Color.MediumBlue; - this.gunaGradientTileButton3.OnHoverBorderColor = System.Drawing.Color.Black; - this.gunaGradientTileButton3.OnHoverForeColor = System.Drawing.Color.White; - this.gunaGradientTileButton3.OnHoverImage = null; - this.gunaGradientTileButton3.OnPressedColor = System.Drawing.Color.Black; - this.gunaGradientTileButton3.Radius = 6; - this.gunaGradientTileButton3.Click += new System.EventHandler(this.gunaGradientTileButton3_Click); - // - // gunaGradientTileButton4 - // - resources.ApplyResources(this.gunaGradientTileButton4, "gunaGradientTileButton4"); - this.gunaGradientTileButton4.Animated = true; - this.gunaGradientTileButton4.AnimationHoverSpeed = 0.07F; - this.gunaGradientTileButton4.AnimationSpeed = 0.03F; - this.gunaGradientTileButton4.BackColor = System.Drawing.Color.Transparent; - this.gunaGradientTileButton4.BaseColor1 = System.Drawing.Color.DeepSkyBlue; - this.gunaGradientTileButton4.BaseColor2 = System.Drawing.Color.RoyalBlue; - this.gunaGradientTileButton4.BorderColor = System.Drawing.Color.Black; - this.gunaGradientTileButton4.Cursor = System.Windows.Forms.Cursors.Hand; - this.gunaGradientTileButton4.DialogResult = System.Windows.Forms.DialogResult.None; - this.gunaGradientTileButton4.FocusedColor = System.Drawing.Color.Empty; - this.gunaGradientTileButton4.ForeColor = System.Drawing.Color.White; - this.gunaGradientTileButton4.Image = global::InternetTest.Properties.Resources.icons8_twitter_100px; - this.gunaGradientTileButton4.ImageSize = new System.Drawing.Size(52, 52); - this.gunaGradientTileButton4.Name = "gunaGradientTileButton4"; - this.gunaGradientTileButton4.OnHoverBaseColor1 = System.Drawing.Color.DodgerBlue; - this.gunaGradientTileButton4.OnHoverBaseColor2 = System.Drawing.Color.MediumBlue; - this.gunaGradientTileButton4.OnHoverBorderColor = System.Drawing.Color.Black; - this.gunaGradientTileButton4.OnHoverForeColor = System.Drawing.Color.White; - this.gunaGradientTileButton4.OnHoverImage = null; - this.gunaGradientTileButton4.OnPressedColor = System.Drawing.Color.Black; - this.gunaGradientTileButton4.Radius = 6; - this.gunaGradientTileButton4.Click += new System.EventHandler(this.gunaGradientTileButton4_Click); - // // SitesSelector // resources.ApplyResources(this, "$this"); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.White; - this.Controls.Add(this.gunaGradientTileButton4); - this.Controls.Add(this.gunaGradientTileButton3); this.Controls.Add(this.gunaGradientTileButton2); this.Controls.Add(this.gunaGradientTileButton1); this.Controls.Add(this.panel1); @@ -244,8 +188,6 @@ private void InitializeComponent() private Guna.UI.WinForms.GunaDragControl gunaDragControl1; private Guna.UI.WinForms.GunaDragControl gunaDragControl2; private Guna.UI.WinForms.GunaGradientTileButton gunaGradientTileButton1; - private Guna.UI.WinForms.GunaGradientTileButton gunaGradientTileButton4; - private Guna.UI.WinForms.GunaGradientTileButton gunaGradientTileButton3; private Guna.UI.WinForms.GunaGradientTileButton gunaGradientTileButton2; } } \ No newline at end of file diff --git a/InternetTest/Forms/SitesSelector.en-US.resx b/InternetTest/Forms/SitesSelector.en-US.resx index 5a9cc8cb..a8795c60 100644 --- a/InternetTest/Forms/SitesSelector.en-US.resx +++ b/InternetTest/Forms/SitesSelector.en-US.resx @@ -118,6 +118,9 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 269, 171 + iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAYAAADFeBvrAAAABGdBTUEAALGPC/xhBQAABmhJREFUaEPt @@ -151,12 +154,18 @@ 5ZyDggfzZv7bDAz8C67YqxkEgE5XAAAAAElFTkSuQmCC + + 218, 4 + 132, 21 Select a website + + 269, 37 + AAABAAYAAAAAAAEAIAAFUgAAZgAAAICAAAABACAAKAgBAGtSAABAQAAAAQAgAChCAACTWgEAMDAAAAEA diff --git a/InternetTest/Forms/SitesSelector.fr-FR.resx b/InternetTest/Forms/SitesSelector.fr-FR.resx index ce4b91b9..c5a9c8d3 100644 --- a/InternetTest/Forms/SitesSelector.fr-FR.resx +++ b/InternetTest/Forms/SitesSelector.fr-FR.resx @@ -118,6 +118,9 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 268, 171 + iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAYAAADFeBvrAAAABGdBTUEAALGPC/xhBQAABmhJREFUaEPt @@ -151,6 +154,12 @@ 5ZyDggfzZv7bDAz8C67YqxkEgE5XAAAAAElFTkSuQmCC + + 217, 4 + + + 268, 37 + AAABAAYAAAAAAAEAIAAFUgAAZgAAAICAAAABACAAKAgBAGtSAABAQAAAAQAgAChCAACTWgEAMDAAAAEA diff --git a/InternetTest/Forms/SitesSelector.resx b/InternetTest/Forms/SitesSelector.resx index 8042b6af..cf7e98fc 100644 --- a/InternetTest/Forms/SitesSelector.resx +++ b/InternetTest/Forms/SitesSelector.resx @@ -117,74 +117,77 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 3 - + + 17, 17 + + + True + - - 469, 4 - - - 2 + + 6, 13 - - Sélectionner un site + + 269, 171 - - 47, 29 + + Segoe UI Semibold, 15.75pt, style=Bold - - panel1 + + 137, 43 - - panel1 + + 120, 120 - - SitesSelector + + + 3 - - True + + Google - - Guna.UI.WinForms.GunaAdvenceTileButton, Guna.UI, Version=1.9.0.0, Culture=neutral, PublicKeyToken=ad275b4be6718d4b + + gunaGradientTileButton2 - - 389, 43 + + Guna.UI.WinForms.GunaGradientTileButton, Guna.UI, Version=1.9.0.0, Culture=neutral, PublicKeyToken=ad275b4be6718d4b - + $this - - Guna.UI.WinForms.GunaGradientTileButton, Guna.UI, Version=1.9.0.0, Culture=neutral, PublicKeyToken=ad275b4be6718d4b + + 0 - - 3 + + Segoe UI Semibold, 15.75pt, style=Bold - - Guna.UI.WinForms.GunaGradientTileButton, Guna.UI, Version=1.9.0.0, Culture=neutral, PublicKeyToken=ad275b4be6718d4b + + 11, 43 - - 6, 13 + + 120, 120 - - 4, 3 + + 3 - - Segoe UI, 12pt, style=Bold + + Bing - - 0 + + gunaGradientTileButton1 - - 2 + + Guna.UI.WinForms.GunaGradientTileButton, Guna.UI, Version=1.9.0.0, Culture=neutral, PublicKeyToken=ad275b4be6718d4b - - - CenterScreen + + $this - - gunaDragControl2 + + 1 + + + + Top, Right @@ -219,119 +222,113 @@ 5ZyDggfzZv7bDAz8C67YqxkEgE5XAAAAAElFTkSuQmCC - - 30, 30 + + Segoe UI Light, 15.75pt - - 0 + + 218, 4 - - Guna.UI.WinForms.GunaGradientTileButton, Guna.UI, Version=1.9.0.0, Culture=neutral, PublicKeyToken=ad275b4be6718d4b + + 47, 29 - - gunaElipse1 + + 2 - - 3 + + gunaAdvenceTileButton1 - - gunaLabel1 + + Guna.UI.WinForms.GunaAdvenceTileButton, Guna.UI, Version=1.9.0.0, Culture=neutral, PublicKeyToken=ad275b4be6718d4b - - Guna.UI.WinForms.GunaPictureBox, Guna.UI, Version=1.9.0.0, Culture=neutral, PublicKeyToken=ad275b4be6718d4b + + panel1 - - Zoom + + 0 NoControl - - 520, 37 - - - gunaDragControl1 - - - Segoe UI Light, 15.75pt + + 4, 3 - - gunaGradientTileButton3 + + 30, 30 - - 3 + + Zoom 1 - - 137, 43 - - - Segoe UI Semibold, 15.75pt, style=Bold + + gunaPictureBox1 - - Top, Right + + Guna.UI.WinForms.GunaPictureBox, Guna.UI, Version=1.9.0.0, Culture=neutral, PublicKeyToken=ad275b4be6718d4b - - Segoe UI Semibold, 15.75pt, style=Bold + + panel1 - - Google + + 1 - - Bing + + True - - Guna.UI.WinForms.GunaDragControl, Guna.UI, Version=1.9.0.0, Culture=neutral, PublicKeyToken=ad275b4be6718d4b + + Segoe UI, 12pt, style=Bold NoControl - - Top - - - 11, 43 - - - 263, 43 + + 34, 8 161, 21 - - 120, 120 + + 0 - - gunaGradientTileButton2 + + Sélectionner un site - - Twitter + + gunaLabel1 - - 4 + + Guna.UI.WinForms.GunaLabel, Guna.UI, Version=1.9.0.0, Culture=neutral, PublicKeyToken=ad275b4be6718d4b - + panel1 - - 120, 120 + + 2 - - Guna.UI.WinForms.GunaLabel, Guna.UI, Version=1.9.0.0, Culture=neutral, PublicKeyToken=ad275b4be6718d4b + + Top - - Guna.UI.WinForms.GunaGradientTileButton, Guna.UI, Version=1.9.0.0, Culture=neutral, PublicKeyToken=ad275b4be6718d4b + + 0, 0 + + + 269, 37 + + + 2 + + + panel1 System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - Segoe UI Semibold, 15.75pt, style=Bold + + $this - - 120, 120 + + 2 @@ -2349,94 +2346,40 @@ BAAAIEQAABDIAAARiAAAgYEAAIABAADAAwAA8A8AAA== - - 34, 8 - - - YouTube + + CenterScreen Sélécteur de sites + + gunaElipse1 + Guna.UI.WinForms.GunaElipse, Guna.UI, Version=1.9.0.0, Culture=neutral, PublicKeyToken=ad275b4be6718d4b - - Guna.UI.WinForms.GunaDragControl, Guna.UI, Version=1.9.0.0, Culture=neutral, PublicKeyToken=ad275b4be6718d4b - - - $this - - - 120, 120 - - - gunaGradientTileButton1 - - - $this - - - gunaAdvenceTileButton1 - - - Segoe UI Semibold, 15.75pt, style=Bold - - - 0, 0 + + gunaDragControl1 - - gunaPictureBox1 + + Guna.UI.WinForms.GunaDragControl, Guna.UI, Version=1.9.0.0, Culture=neutral, PublicKeyToken=ad275b4be6718d4b - - panel1 + + gunaDragControl2 - - 1 + + Guna.UI.WinForms.GunaDragControl, Guna.UI, Version=1.9.0.0, Culture=neutral, PublicKeyToken=ad275b4be6718d4b - - 520, 171 + + SitesSelector System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - $this - - - 3 - - - 1 - - - 2 - - - $this - - - 0 - - - 2 - - - gunaGradientTileButton4 - - - 283, 19 - 130, 19 - - 17, 17 - - - True - - - fr-FR + + 283, 19 \ No newline at end of file