From c8f471ac5c1fb28e3c8dd75477a7d013da046009 Mon Sep 17 00:00:00 2001 From: pfg Date: Sun, 12 Mar 2017 10:27:21 -0700 Subject: Start adding cf file icon --- ShiftOS.WinForms/Applications/FileSkimmer.cs | 2 ++ ShiftOS.WinForms/Properties/Resources.Designer.cs | 21 ++++++++++++++++----- ShiftOS.WinForms/Resources/fileiconcf.bmp | Bin 0 -> 1195 bytes ShiftOS.WinForms/ShiftOS.WinForms.csproj | 2 ++ 4 files changed, 20 insertions(+), 5 deletions(-) create mode 100644 ShiftOS.WinForms/Resources/fileiconcf.bmp (limited to 'ShiftOS.WinForms') diff --git a/ShiftOS.WinForms/Applications/FileSkimmer.cs b/ShiftOS.WinForms/Applications/FileSkimmer.cs index 2881dc0..ffc76e7 100644 --- a/ShiftOS.WinForms/Applications/FileSkimmer.cs +++ b/ShiftOS.WinForms/Applications/FileSkimmer.cs @@ -233,6 +233,8 @@ namespace ShiftOS.WinForms.Applications return Properties.Resources.fileicon10; case FileType.TextFile: return Properties.Resources.fileicon2; + case FileType.CommandFormat: + //return Properties.Resources.fileiconcf; default: return Properties.Resources.fileicon1; } diff --git a/ShiftOS.WinForms/Properties/Resources.Designer.cs b/ShiftOS.WinForms/Properties/Resources.Designer.cs index 6628f0b..107f12d 100644 --- a/ShiftOS.WinForms/Properties/Resources.Designer.cs +++ b/ShiftOS.WinForms/Properties/Resources.Designer.cs @@ -10,8 +10,9 @@ namespace ShiftOS.WinForms.Properties { using System; - - + using System.Drawing; + + /// /// A strongly-typed resource class, for looking up localized strings, etc. /// @@ -27,7 +28,7 @@ namespace ShiftOS.WinForms.Properties { private static global::System.Resources.ResourceManager resourceMan; private static global::System.Globalization.CultureInfo resourceCulture; - + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] internal Resources() { } @@ -459,7 +460,7 @@ namespace ShiftOS.WinForms.Properties { return ((System.Drawing.Bitmap)(obj)); } } - + /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// @@ -469,7 +470,17 @@ namespace ShiftOS.WinForms.Properties { return ((System.Drawing.Bitmap)(obj)); } } - + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap fileiconcf { + get { + object obj = ResourceManager.GetObject("fileiconcf", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// diff --git a/ShiftOS.WinForms/Resources/fileiconcf.bmp b/ShiftOS.WinForms/Resources/fileiconcf.bmp new file mode 100644 index 0000000..8db9711 Binary files /dev/null and b/ShiftOS.WinForms/Resources/fileiconcf.bmp differ diff --git a/ShiftOS.WinForms/ShiftOS.WinForms.csproj b/ShiftOS.WinForms/ShiftOS.WinForms.csproj index 62df12a..d865c62 100644 --- a/ShiftOS.WinForms/ShiftOS.WinForms.csproj +++ b/ShiftOS.WinForms/ShiftOS.WinForms.csproj @@ -594,6 +594,7 @@ + @@ -607,6 +608,7 @@ + -- cgit v1.2.3