diff options
author | emkael <emkael@tlen.pl> | 2019-08-31 18:07:50 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2019-10-27 14:53:43 +0100 |
commit | f5a64f096926ef20680dbcc658c4074a8326bc6b (patch) | |
tree | 6460de105c5ad47b374d3c3745d91cab8d685081 | |
parent | f18a20c271c3ed4dfa8a95eadc9638ae04a3a7bd (diff) |
App icon
-rw-r--r-- | res/icon.ico | bin | 0 -> 4286 bytes | |||
-rw-r--r-- | spedytor/Form1.Designer.cs | 2 | ||||
-rw-r--r-- | spedytor/Properties/AssemblyInfo.cs | 4 | ||||
-rw-r--r-- | spedytor/Properties/Resources.Designer.cs | 10 | ||||
-rw-r--r-- | spedytor/Properties/Resources.resx | 4 | ||||
-rw-r--r-- | spedytor/Resources/icon.ico | bin | 0 -> 4286 bytes | |||
-rw-r--r-- | spedytor/icon.ico | bin | 0 -> 4286 bytes | |||
-rw-r--r-- | spedytor/spedytor.csproj | 16 |
8 files changed, 31 insertions, 5 deletions
diff --git a/res/icon.ico b/res/icon.ico Binary files differnew file mode 100644 index 0000000..6dfaa34 --- /dev/null +++ b/res/icon.ico diff --git a/spedytor/Form1.Designer.cs b/spedytor/Form1.Designer.cs index d9552fd..f3c4f89 100644 --- a/spedytor/Form1.Designer.cs +++ b/spedytor/Form1.Designer.cs @@ -205,7 +205,7 @@ // closeMenuItem // this.closeMenuItem.Name = "closeMenuItem"; - this.closeMenuItem.Size = new System.Drawing.Size(152, 22); + this.closeMenuItem.Size = new System.Drawing.Size(118, 22); this.closeMenuItem.Text = "Zakończ"; this.closeMenuItem.Click += new System.EventHandler(this.closeMenuItem_Click); // diff --git a/spedytor/Properties/AssemblyInfo.cs b/spedytor/Properties/AssemblyInfo.cs index 0d09c23..548263a 100644 --- a/spedytor/Properties/AssemblyInfo.cs +++ b/spedytor/Properties/AssemblyInfo.cs @@ -8,9 +8,9 @@ using System.Runtime.InteropServices; [assembly: AssemblyTitle("spedytor")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Hewlett-Packard Company")] +[assembly: AssemblyCompany("")] [assembly: AssemblyProduct("spedytor")] -[assembly: AssemblyCopyright("Copyright © Hewlett-Packard Company 2018")] +[assembly: AssemblyCopyright("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] diff --git a/spedytor/Properties/Resources.Designer.cs b/spedytor/Properties/Resources.Designer.cs index b619f96..1c1ef4e 100644 --- a/spedytor/Properties/Resources.Designer.cs +++ b/spedytor/Properties/Resources.Designer.cs @@ -71,6 +71,16 @@ namespace spedytor.Properties { } /// <summary> + /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon). + /// </summary> + internal static System.Drawing.Icon icon { + get { + object obj = ResourceManager.GetObject("icon", resourceCulture); + return ((System.Drawing.Icon)(obj)); + } + } + + /// <summary> /// Looks up a localized resource of type System.Drawing.Bitmap. /// </summary> internal static System.Drawing.Bitmap refresh { diff --git a/spedytor/Properties/Resources.resx b/spedytor/Properties/Resources.resx index 3bf3291..04e450a 100644 --- a/spedytor/Properties/Resources.resx +++ b/spedytor/Properties/Resources.resx @@ -133,4 +133,8 @@ <data name="stop" type="System.Resources.ResXFileRef, System.Windows.Forms"> <value>..\Resources\109_AllAnnotations_Error_32x32_72.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> </data> + <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> + <data name="icon" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\Resources\icon.ico;System.Drawing.Icon, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + </data> </root>
\ No newline at end of file diff --git a/spedytor/Resources/icon.ico b/spedytor/Resources/icon.ico Binary files differnew file mode 100644 index 0000000..6dfaa34 --- /dev/null +++ b/spedytor/Resources/icon.ico diff --git a/spedytor/icon.ico b/spedytor/icon.ico Binary files differnew file mode 100644 index 0000000..6dfaa34 --- /dev/null +++ b/spedytor/icon.ico diff --git a/spedytor/spedytor.csproj b/spedytor/spedytor.csproj index 4915ab8..0d56b46 100644 --- a/spedytor/spedytor.csproj +++ b/spedytor/spedytor.csproj @@ -49,6 +49,12 @@ <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> </PropertyGroup> + <PropertyGroup> + <StartupObject>spedytor.Program</StartupObject> + </PropertyGroup> + <PropertyGroup> + <ApplicationIcon>icon.ico</ApplicationIcon> + </PropertyGroup> <ItemGroup> <Reference Include="AWSSDK.Core"> <HintPath>..\res\AWSSDK.Core.dll</HintPath> @@ -159,12 +165,18 @@ <ItemGroup> <None Include="Resources\109_AllAnnotations_Error_32x32_72.png" /> </ItemGroup> + <ItemGroup> + <None Include="Resources\icon.ico" /> + </ItemGroup> + <ItemGroup> + <Content Include="icon.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. + <!-- 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. <Target Name="BeforeBuild"> </Target> <Target Name="AfterBuild"> </Target> --> -</Project>
\ No newline at end of file +</Project> |