Toolbox icon

This commit is contained in:
2017-12-10 03:41:27 +01:00
parent ea5d64e817
commit 5a540266bf
6 changed files with 252 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -0,0 +1,235 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="64"
height="64"
viewBox="0 0 16.933333 16.933334"
version="1.1"
id="svg8"
inkscape:export-filename="C:\Users\valen\source.coffebreak\VAR.Toolbox\VAR.Toolbox\Images\Toolbox.png"
inkscape:export-xdpi="96.000008"
inkscape:export-ydpi="96.000008"
inkscape:version="0.92.1 r15371"
sodipodi:docname="toolbox.svg">
<defs
id="defs2">
<linearGradient
inkscape:collect="always"
id="linearGradient4845">
<stop
style="stop-color:#8d0000;stop-opacity:1"
offset="0"
id="stop4841" />
<stop
style="stop-color:#ff0400;stop-opacity:1"
offset="1"
id="stop4843" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient4839">
<stop
style="stop-color:#8f0000;stop-opacity:1"
offset="0"
id="stop4835" />
<stop
style="stop-color:#fc0000;stop-opacity:1"
offset="1"
id="stop4837" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4839"
id="linearGradient4833"
x1="10.583333"
y1="293.95728"
x2="10.583333"
y2="282.84479"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4845"
id="linearGradient4847"
x1="9.921875"
y1="294.03665"
x2="9.7895832"
y2="282.92416"
gradientUnits="userSpaceOnUse" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="8"
inkscape:cx="22.659532"
inkscape:cy="29.638443"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
showgrid="true"
units="px"
inkscape:window-width="1821"
inkscape:window-height="1246"
inkscape:window-x="-11"
inkscape:window-y="-11"
inkscape:window-maximized="1">
<inkscape:grid
type="xygrid"
id="grid4485"
originy="0" />
<inkscape:grid
type="xygrid"
id="grid4487"
originx="0.13229167"
originy="0.13229167"
units="in" />
</sodipodi:namedview>
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Capa 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-280.06665)">
<path
style="fill:url(#linearGradient4833);fill-opacity:1;stroke:#000000;stroke-width:0.26458332;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path4665-6"
d="m 11.641667,285.75519 c -0.07519,0 -0.132327,-0.055 -0.131923,-0.12982 l 0.01,-1.84881 c 4.07e-4,-0.0754 -0.06708,-0.13652 -0.142114,-0.13656 l -5.8221957,-0.003 c -0.075331,-4e-5 -0.127582,0.0629 -0.1276415,0.13802 l -0.00146,1.84724 c -5.91e-5,0.0747 -0.056695,0.13196 -0.1320265,0.13202 l -3.9709303,0.003 c -0.075186,6e-5 -0.1312438,0.0554 -0.1312438,0.13006 v 2.11525 c 0,0.0745 0.061225,0.13617 0.1364114,0.13612 l 6.3458527,-0.004 c 0.075331,-5e-5 0.1374335,-0.0575 0.1368477,-0.13199 l -0.00413,-0.52582 c -5.88e-4,-0.0748 0.05546,-0.13627 0.1306467,-0.13612 l 1.0559706,0.002 c 0.075331,1.5e-4 0.1346351,0.0531 0.1346351,0.12785 v 0.5279 c 0,0.0745 0.055461,0.13821 0.1305009,0.13818 l 6.3561867,-0.002 c 0.07533,-3e-5 0.127184,-0.0554 0.127111,-0.12992 l -0.0021,-2.11732 c -7.3e-5,-0.0747 -0.05488,-0.13114 -0.130211,-0.13124 l -3.835927,-0.001 z m -5.0288563,0.006 c -0.075331,1.6e-4 -0.1282891,-0.0616 -0.1281431,-0.13641 l 0.00207,-1.05897 c 1.472e-4,-0.0754 0.050745,-0.12793 0.126076,-0.12814 l 3.7139823,-0.0103 c 0.07519,-2.1e-4 0.130354,0.0549 0.130209,0.1302 l -0.0021,1.07344 c -1.43e-4,0.0747 -0.05296,0.12177 -0.128142,0.12194 z"
inkscape:connector-curvature="0"
sodipodi:nodetypes="csssssssssssssssssssssssccsssssssss" />
<path
style="fill:url(#linearGradient4847);stroke:#000006;stroke-width:0.26458332;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;fill-opacity:1"
id="path4669-8"
d="m 9.128125,290.3854 c 0,0.0747 -0.088061,0.13409 -0.1632469,0.13394 l -1.0270319,-0.002 c -0.075309,-1.6e-4 -0.1284816,-0.0596 -0.1285795,-0.13434 l -0.00207,-1.57833 c -9.78e-5,-0.0747 -0.059594,-0.13424 -0.1347806,-0.13434 l -6.3458527,-0.008 c -0.075186,-10e-5 -0.1364114,0.0616 -0.1364114,0.13641 v 4.50463 c 0,0.0747 0.061225,0.13641 0.1364114,0.13641 H 15.596683 c 0.07533,0 0.136309,-0.0616 0.136412,-0.13641 l 0.0062,-4.50463 c 1.03e-4,-0.0747 -0.05178,-0.13015 -0.12711,-0.13021 l -6.3489103,-0.005 c -0.075186,-5e-5 -0.1352525,0.0558 -0.135241,0.13057 l 2.355e-4,1.5273 z"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cssssssssssssssscc" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:0.49032259"
d="m 1.4552083,286.15207 v 1.5875"
id="path4799"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
<path
style="fill:none;fill-rule:evenodd;stroke:#ffffff;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:0.49516129"
d="M 5.5562499,283.90311 H 11.377083"
id="path4809"
inkscape:connector-curvature="0" />
<path
style="fill:none;fill-rule:evenodd;stroke:#ffffff;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:0.4983871"
d="M 9.2604166,288.93019 H 15.610416"
id="path4815"
inkscape:connector-curvature="0" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:0.5032258"
d="m 15.478125,289.06248 v 3.96875"
id="path4817"
inkscape:connector-curvature="0" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:0.74354839"
d="M 15.610416,293.16352 H 1.3229166"
id="path4819"
inkscape:connector-curvature="0" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:0.5016129"
d="m 1.4552083,293.03123 v -3.96875"
id="path4821"
inkscape:connector-curvature="0" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:0.76129031"
d="m 1.3229166,287.87186 h 6.2177083 v -0.39688 c 0.046835,-0.19876 0.1523728,-0.35185 0.396875,-0.39687 h 1.0583333 c 0.203798,0.046 0.3525696,0.15839 0.396875,0.39687 v 0.39688 h 6.2177078"
id="path4823"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccccc" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:0.47903225"
d="m 15.478125,286.15207 v 1.5875"
id="path4825"
inkscape:connector-curvature="0" />
<path
style="fill:none;fill-rule:evenodd;stroke:#ffffff;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:0.52741933"
d="m 1.3229166,288.93019 h 6.35"
id="path4849"
inkscape:connector-curvature="0" />
<path
style="fill:none;fill-rule:evenodd;stroke:#ffffff;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:0.5016129"
d="m 7.5406249,290.33248 c 0.053822,0.16463 0.1162818,0.32765 0.396875,0.44979 h 1.0583333 c 0.2656949,-0.11387 0.3463096,-0.27777 0.396875,-0.44979"
id="path4851"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccc" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:0.49354839"
d="m 7.5406249,289.06248 v 1.32292"
id="path4853"
inkscape:connector-curvature="0" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:0.50645161"
d="m 9.3927082,289.06248 v 1.32292"
id="path4855"
inkscape:connector-curvature="0" />
<path
style="fill:none;fill-rule:evenodd;stroke:#ffffef;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:0.47903227"
d="m 1.3229166,286.01977 h 3.96875 c 0.3141845,-0.0698 0.3341114,-0.24069 0.396875,-0.39687"
id="path4857"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccc" />
<path
style="fill:none;fill-rule:evenodd;stroke:#ffffff;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:0.49677423"
d="m 6.2177083,285.6229 c 0.072285,0.16809 0.1030371,0.34858 0.396875,0.39687 H 10.31875 c 0.179896,-0.0515 0.345856,-0.12665 0.396875,-0.39687"
id="path4859"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccc" />
<path
style="fill:none;fill-rule:evenodd;stroke:#ffffff;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:0.5"
d="m 11.244792,285.6229 c 0.04778,0.19396 0.146343,0.35086 0.396875,0.39687 h 3.968749"
id="path4861"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccc" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:0.75"
d="m 6.2177083,284.56457 c 0.078702,-0.13995 0.033329,-0.29762 0.3968749,-0.39688 H 10.31875 c 0.244504,0.045 0.35004,0.19812 0.396875,0.39688"
id="path4863"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccc" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:0.49516129"
d="m 5.6885416,284.0354 v 1.5875"
id="path4865"
inkscape:connector-curvature="0" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:0.49516129"
d="m 6.2177083,284.56457 v 1.05833"
id="path4867"
inkscape:connector-curvature="0" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:0.49516129"
d="m 10.715625,284.56457 v 1.05833"
id="path4869"
inkscape:connector-curvature="0" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:0.48387095"
d="m 11.244792,284.0354 v 1.5875"
id="path4871"
inkscape:connector-curvature="0" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 12 KiB

BIN
VAR.Toolbox/Toolbox.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

View File

@@ -28,6 +28,7 @@
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmToolbox));
this.btnBase64 = new System.Windows.Forms.Button();
this.btnProxyCmd = new System.Windows.Forms.Button();
this.btnWebcam = new System.Windows.Forms.Button();
@@ -108,6 +109,7 @@
this.Name = "FrmToolbox";
this.Text = "Toolbox";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmToolbox_FormClosing);
this.Load += new System.EventHandler(this.FrmToolbox_Load);
this.Resize += new System.EventHandler(this.FrmToolbox_Resize);
this.ResumeLayout(false);

View File

@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Windows.Forms;
using System.Drawing;
namespace VAR.Toolbox.UI
{
@@ -11,6 +12,11 @@ namespace VAR.Toolbox.UI
InitializeComponent();
}
private void FrmToolbox_Load(object sender, EventArgs e)
{
Icon = Icon.ExtractAssociatedIcon(Application.ExecutablePath);
}
private void btnBase64_Click(object sender, EventArgs e)
{
CreateWindow(typeof(FrmBase64));
@@ -79,6 +85,6 @@ namespace VAR.Toolbox.UI
}
#endregion Window handling
}
}

View File

@@ -36,6 +36,9 @@
<PropertyGroup>
<ApplicationManifest>app.manifest</ApplicationManifest>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>Toolbox.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
@@ -143,6 +146,11 @@
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
</ItemGroup>
<ItemGroup>
<Content Include="Images\Toolbox.png" />
<Content Include="Images\toolbox.svg" />
<Content Include="Toolbox.ico" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.