From b97846efbbb49fec7b4cafb3cd7cbe1290a2c27e Mon Sep 17 00:00:00 2001 From: Alan Rynne Date: Mon, 7 Dec 2020 15:22:39 +0100 Subject: [PATCH] Added logos to demo --- .../GrasshopperAsyncComponentDemo.csproj | 16 ++- .../Properties/Resources.Designer.cs | 73 +++++++++++ .../Properties/Resources.resx | 124 ++++++++++++++++++ .../Resources/logo32.png | Bin 0 -> 775 bytes .../Sample_PrimeCalculatorAsyncComponent.cs | 2 +- .../Sample_UslessCyclesComponent.cs | 2 +- GrasshopperAsyncComponentDemo/packages.config | 6 - 7 files changed, 214 insertions(+), 9 deletions(-) create mode 100755 GrasshopperAsyncComponentDemo/Properties/Resources.Designer.cs create mode 100755 GrasshopperAsyncComponentDemo/Properties/Resources.resx create mode 100755 GrasshopperAsyncComponentDemo/Resources/logo32.png mode change 100644 => 100755 GrasshopperAsyncComponentDemo/SampleImplementations/Sample_PrimeCalculatorAsyncComponent.cs mode change 100644 => 100755 GrasshopperAsyncComponentDemo/SampleImplementations/Sample_UslessCyclesComponent.cs delete mode 100644 GrasshopperAsyncComponentDemo/packages.config diff --git a/GrasshopperAsyncComponentDemo/GrasshopperAsyncComponentDemo.csproj b/GrasshopperAsyncComponentDemo/GrasshopperAsyncComponentDemo.csproj index e0ff5f8..cc2af6e 100644 --- a/GrasshopperAsyncComponentDemo/GrasshopperAsyncComponentDemo.csproj +++ b/GrasshopperAsyncComponentDemo/GrasshopperAsyncComponentDemo.csproj @@ -46,6 +46,11 @@ + + True + True + Resources.resx + @@ -60,6 +65,15 @@ GrasshopperAsyncComponent + + + ResXFileCodeGenerator + Resources.Designer.cs + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + ..\Resources\logo32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + \ No newline at end of file diff --git a/GrasshopperAsyncComponentDemo/Resources/logo32.png b/GrasshopperAsyncComponentDemo/Resources/logo32.png new file mode 100755 index 0000000000000000000000000000000000000000..9b3004eaa80c9d6497d7d17451f9754d5c8bc855 GIT binary patch literal 775 zcmV+i1Ni)jP)WP!vHlH8dBsl)TPUL5Vz&cm&jo8Ztz`6u z0mx)?T4>VmUWhEZ?XNUp!@(%_sG_Um!Qc#a?dt)H8SlJit@`KwwU(8*u7JfMJf^5x zPIyXqW<95xyer(Hq@pXr=fWOME+~9&>ajAvnVc;1kI7m%6aZ_Rusd19u^LuVT1Hr2 zPERJCS1R{0U*e2s=jSALi+7&*C!N{lR+f}XS5L}yZab4A7dvLi0olk01iIB;FO_>%+2`~T z!W;5cH?V&IeRAHl{0l5FXUl|g(4PPR010qNS#tmY3ljhU3ljkVnw%H_00ApWL_t(o zh3%HRN&`U@Ku?T;kX<$iJ{lh&!A7E{uu5Z*M$jg|;U8!tLOLsJTff1^R?maNgfWh$JNkl2yI1mePfNZ!r5%MIkRw*T} zV+j;j-Ie+B)aKBHwGcLoLk(E2loF@9f&txu_tbNacCT`^%Z3|qn21O#5P496+;o+= zFFm<`Y{~ZQj>_vU4fbi8J=wdR881)o2cvez^GUXSNqRj}o+91$CEZbEIzD#y6&tX^ z_(~o)k0St(KECJ<*BhC|2({lv`vgCQ5ikNqzz7(DKP}(_&0iC!9v04kCEh<3aZx}W z@N@-zzhs4CHFq~Rx!xRc#(?KA8lU#sTy3SagAE452X9yOWU(N new Guid("22C612B0-2C57-47CE-B9FE-E10621F18933"); } - protected override System.Drawing.Bitmap Icon { get => null; } + protected override System.Drawing.Bitmap Icon { get => Properties.Resources.logo32; } public override GH_Exposure Exposure => GH_Exposure.primary; diff --git a/GrasshopperAsyncComponentDemo/SampleImplementations/Sample_UslessCyclesComponent.cs b/GrasshopperAsyncComponentDemo/SampleImplementations/Sample_UslessCyclesComponent.cs old mode 100644 new mode 100755 index d190a33..b204825 --- a/GrasshopperAsyncComponentDemo/SampleImplementations/Sample_UslessCyclesComponent.cs +++ b/GrasshopperAsyncComponentDemo/SampleImplementations/Sample_UslessCyclesComponent.cs @@ -13,7 +13,7 @@ namespace GrasshopperAsyncComponentDemo.SampleImplementations { public override Guid ComponentGuid { get => new Guid("DF2B93E2-052D-4BE4-BC62-90DC1F169BF6"); } - protected override System.Drawing.Bitmap Icon { get => null; } + protected override System.Drawing.Bitmap Icon { get => Properties.Resources.logo32; } public override GH_Exposure Exposure => GH_Exposure.primary; diff --git a/GrasshopperAsyncComponentDemo/packages.config b/GrasshopperAsyncComponentDemo/packages.config deleted file mode 100644 index f0d29eb..0000000 --- a/GrasshopperAsyncComponentDemo/packages.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file