From 054bc1fecc26bfb0ac5de123b49ea958f595e7e8 Mon Sep 17 00:00:00 2001 From: Ray Date: Sun, 12 Sep 2021 15:32:35 +0100 Subject: [PATCH] WIP: icons + clean-up --- AppResource.Designer.cs | 24 ++---------------------- AppResource.resx | 10 ++-------- MainForm.Designer.cs | 19 ++++++++++--------- Resources/folder_32.png | Bin 601 -> 0 bytes Resources/search.png | Bin 0 -> 378 bytes Resources/toggle-left-ea-16.png | Bin 506 -> 0 bytes Resources/toggle-right-ea-16.png | Bin 502 -> 0 bytes 7 files changed, 14 insertions(+), 39 deletions(-) delete mode 100644 Resources/folder_32.png create mode 100644 Resources/search.png delete mode 100644 Resources/toggle-left-ea-16.png delete mode 100644 Resources/toggle-right-ea-16.png diff --git a/AppResource.Designer.cs b/AppResource.Designer.cs index 85eb89b..8b528a7 100644 --- a/AppResource.Designer.cs +++ b/AppResource.Designer.cs @@ -98,16 +98,6 @@ namespace BookmarkManager { } } - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap folder_32 { - get { - object obj = ResourceManager.GetObject("folder_32", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// @@ -131,19 +121,9 @@ namespace BookmarkManager { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - internal static System.Drawing.Bitmap toggle_left_ea_16 { + internal static System.Drawing.Bitmap search { get { - object obj = ResourceManager.GetObject("toggle_left_ea_16", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap toggle_right_ea_16 { - get { - object obj = ResourceManager.GetObject("toggle_right_ea_16", resourceCulture); + object obj = ResourceManager.GetObject("search", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } diff --git a/AppResource.resx b/AppResource.resx index 1b86c3e..7eeb7a0 100644 --- a/AppResource.resx +++ b/AppResource.resx @@ -130,20 +130,14 @@ Resources\folder.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - Resources\folder_32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - Resources\folder_explore.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a Resources\hexagon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - Resources\toggle-left-ea-16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - Resources\toggle-right-ea-16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + Resources\search.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a https://www.hiimray.co.uk/software-bookmark-manager diff --git a/MainForm.Designer.cs b/MainForm.Designer.cs index c1ec0cd..3844f18 100644 --- a/MainForm.Designer.cs +++ b/MainForm.Designer.cs @@ -198,9 +198,10 @@ // // findToolStripMenuItem // + this.findToolStripMenuItem.Image = global::BookmarkManager.AppResource.search; this.findToolStripMenuItem.Name = "findToolStripMenuItem"; this.findToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.F))); - this.findToolStripMenuItem.Size = new System.Drawing.Size(137, 22); + this.findToolStripMenuItem.Size = new System.Drawing.Size(180, 22); this.findToolStripMenuItem.Text = "&Find"; this.findToolStripMenuItem.Click += new System.EventHandler(this.findToolStripMenuItem_Click); // @@ -453,50 +454,50 @@ this.moveUpToolStripMenuItem1, this.moveDownToolStripMenuItem1}); this.pageContextMenu.Name = "pageContextMenu"; - this.pageContextMenu.Size = new System.Drawing.Size(181, 148); + this.pageContextMenu.Size = new System.Drawing.Size(139, 126); // // openToolStripMenuItem1 // this.openToolStripMenuItem1.Name = "openToolStripMenuItem1"; - this.openToolStripMenuItem1.Size = new System.Drawing.Size(180, 22); + this.openToolStripMenuItem1.Size = new System.Drawing.Size(138, 22); this.openToolStripMenuItem1.Text = "&Open"; this.openToolStripMenuItem1.Click += new System.EventHandler(this.openToolStripMenuItem1_Click); // // toolStripMenuItem7 // this.toolStripMenuItem7.Name = "toolStripMenuItem7"; - this.toolStripMenuItem7.Size = new System.Drawing.Size(177, 6); + this.toolStripMenuItem7.Size = new System.Drawing.Size(135, 6); // // editToolStripMenuItem2 // this.editToolStripMenuItem2.Name = "editToolStripMenuItem2"; - this.editToolStripMenuItem2.Size = new System.Drawing.Size(180, 22); + this.editToolStripMenuItem2.Size = new System.Drawing.Size(138, 22); this.editToolStripMenuItem2.Text = "&Edit"; this.editToolStripMenuItem2.Click += new System.EventHandler(this.editToolStripMenuItem2_Click); // // deleteToolStripMenuItem1 // this.deleteToolStripMenuItem1.Name = "deleteToolStripMenuItem1"; - this.deleteToolStripMenuItem1.Size = new System.Drawing.Size(180, 22); + this.deleteToolStripMenuItem1.Size = new System.Drawing.Size(138, 22); this.deleteToolStripMenuItem1.Text = "&Delete"; this.deleteToolStripMenuItem1.Click += new System.EventHandler(this.deleteToolStripMenuItem1_Click); // // toolStripMenuItem8 // this.toolStripMenuItem8.Name = "toolStripMenuItem8"; - this.toolStripMenuItem8.Size = new System.Drawing.Size(177, 6); + this.toolStripMenuItem8.Size = new System.Drawing.Size(135, 6); // // moveUpToolStripMenuItem1 // this.moveUpToolStripMenuItem1.Name = "moveUpToolStripMenuItem1"; - this.moveUpToolStripMenuItem1.Size = new System.Drawing.Size(180, 22); + this.moveUpToolStripMenuItem1.Size = new System.Drawing.Size(138, 22); this.moveUpToolStripMenuItem1.Text = "Move &Up"; this.moveUpToolStripMenuItem1.Click += new System.EventHandler(this.moveUpToolStripMenuItem1_Click); // // moveDownToolStripMenuItem1 // this.moveDownToolStripMenuItem1.Name = "moveDownToolStripMenuItem1"; - this.moveDownToolStripMenuItem1.Size = new System.Drawing.Size(180, 22); + this.moveDownToolStripMenuItem1.Size = new System.Drawing.Size(138, 22); this.moveDownToolStripMenuItem1.Text = "Move &Down"; this.moveDownToolStripMenuItem1.Click += new System.EventHandler(this.moveDownToolStripMenuItem1_Click); // diff --git a/Resources/folder_32.png b/Resources/folder_32.png deleted file mode 100644 index 832fd3c9b04b64cf590032b045d45050e033aaef..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 601 zcmV-f0;c_mP)Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi!TVrcG=30_DO16O;x4pyeRIh||EuJw0C;nEs~%ng4;9jfsKj03*ZyyTst1 z|G$4o$tXXYlvQp6HVg`o9Y7SAJGE;sFpg$JxugK*|BMVqjQ<(-r({+bL&ZpU00?~M z_+0>WL?JLBI*G+V^|OFl{{S(|KZgIUV1s}FISqh<6$Efwd;%=Kl=;UO;511Aq-$Ng(9|Vgenqe$KScAc!~=q-IyD z{rmS1)Yj*Qh|mmtWnyA7nmx7s7Kj6HmY+L)% diff --git a/Resources/search.png b/Resources/search.png new file mode 100644 index 0000000000000000000000000000000000000000..b1feec0ea23cd32bc606380cdffcb8448accca0b GIT binary patch literal 378 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`EX7WqAsj$Z!;#Vf2?7 z8z9Vhe8JAOKtah8*NBqf{Irtt#G+J&^73-M%)IR4(WFBjK& z{X3)^Rus`DZnHRa%AKB5=3Td&{PyhBW9oPMmNnC5PEt#&O~KN86Rs_(eB;N|`=R^C z3dav}b(;Pk+P+G$NI#7Ke4xzZv=)cn()x=UOusL!vI?Gb-tgE*lW*I$JXiEv(s(x6 zSgYSTb-hoL_pQ$wa{lKOwB{fEyQrsS%X8T`$*2F%tN!7(y=%#tT^4g%ADpjaR4_GU U@w%(=5Eujup00i_>zopr092%+Jpcdz literal 0 HcmV?d00001 diff --git a/Resources/toggle-left-ea-16.png b/Resources/toggle-left-ea-16.png deleted file mode 100644 index e7895fd54022e74fed851ee550eb693be6ae2aa1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 506 zcmVPx#1ZP1_K>z@;j|==^1poj532;bRa{vGi!TM5@V(vBy06gh#SCn!Re04uR-KxwohL*PApgR+f zrj7KUOn8Hn2u=(>tlM;X=VzHXhI#D4_;!W3py}0MU}hXKj!~R&?oY=f>tB72PltNB wTnVs3{n)7GQ?5qa_(;1m>16cWkZK&F58rczF09|kUjP6A07*qoM6N<$f`0zlMF0Q* diff --git a/Resources/toggle-right-ea-16.png b/Resources/toggle-right-ea-16.png deleted file mode 100644 index aedd7c2f94120ca876963df3b9500d46e6f058f4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 502 zcmVPx#1ZP1_K>z@;j|==^1poj532;bRa{vGi!TL0F?FR`V=ECyHf# zC!0Dmf>$6COU#i-nwj>IP!QrLqx)f!Cb%(JSV$J~+0+JGb|Q$4V_}KrGbz{0^f75C zx;4oV3E#ZFT<CMeKqm}$0;P4b~%Obpjb;62m&2=NUkMDbk zYZVCvi1`qUUyx;CUUjohSE+{jAq?L?y$6Kp0C7NhIe)-{bf7-T%P*Cb7;jLRjG1P* zysSnut-vis?D!=sDx%s^du#1EW?;^oDb~D(Hp5md9`#Q6$Y-2wt#l8r+(jefZB6yz zyT^}7Y=toRHLo?xUYup(H0E)Lrz~jV2c!GJz*_Lcct#1K^LaPpY<_>FiJ4?Cm-GVK s96+JwitNV}J~e;F&805N(m#jj3n7Dw9b#Vt6#xJL07*qoM6N<$f{}0FssI20