From 4c31229b10e42b92d91f19d1ecedab358e728c75 Mon Sep 17 00:00:00 2001 From: Fabrice Foray Date: Tue, 18 Jan 2022 08:41:49 +0100 Subject: [PATCH] Update NewZipApp to support RibbonWinForms as NuGet package --- FabTools/NewZipApp/MainWindow.prg | 17 ++++++++--------- FabTools/NewZipApp/NewZipApp.xsproj | 7 ++++--- FabTools/NewZipApp/packages.config | 1 + 3 files changed, 13 insertions(+), 12 deletions(-) diff --git a/FabTools/NewZipApp/MainWindow.prg b/FabTools/NewZipApp/MainWindow.prg index 4cb9a0b..159224b 100644 --- a/FabTools/NewZipApp/MainWindow.prg +++ b/FabTools/NewZipApp/MainWindow.prg @@ -124,15 +124,14 @@ CLASS MainWindow INHERIT System.Windows.Forms.Form SELF:ribbonFabZip:OrbImage := ((System.Drawing.Image)(resources:GetObject("ribbonFabZip.OrbImage"))) // // - // - SELF:ribbonFabZip:QuickAcessToolbar:AltKey := NULL - SELF:ribbonFabZip:QuickAcessToolbar:Image := NULL - SELF:ribbonFabZip:QuickAcessToolbar:Items:Add(SELF:ribbonButtonHelp) - SELF:ribbonFabZip:QuickAcessToolbar:Tag := NULL - SELF:ribbonFabZip:QuickAcessToolbar:Text := NULL - SELF:ribbonFabZip:QuickAcessToolbar:ToolTip := NULL - SELF:ribbonFabZip:QuickAcessToolbar:ToolTipImage := NULL - SELF:ribbonFabZip:QuickAcessToolbar:ToolTipTitle := NULL + SELF:ribbonFabZip:QuickAccessToolbar:AltKey := NULL + SELF:ribbonFabZip:QuickAccessToolbar:Image := NULL + SELF:ribbonFabZip:QuickAccessToolbar:Items:Add(SELF:ribbonButtonHelp) + SELF:ribbonFabZip:QuickAccessToolbar:Tag := NULL + SELF:ribbonFabZip:QuickAccessToolbar:Text := NULL + SELF:ribbonFabZip:QuickAccessToolbar:ToolTip := NULL + SELF:ribbonFabZip:QuickAccessToolbar:ToolTipImage := NULL + SELF:ribbonFabZip:QuickAccessToolbar:ToolTipTitle := NULL SELF:ribbonFabZip:Size := System.Drawing.Size{704, 138} SELF:ribbonFabZip:TabIndex := 0 SELF:ribbonFabZip:Tabs:Add(SELF:ribbonTab_FabZip) diff --git a/FabTools/NewZipApp/NewZipApp.xsproj b/FabTools/NewZipApp/NewZipApp.xsproj index 0817736..9c9f7a5 100644 --- a/FabTools/NewZipApp/NewZipApp.xsproj +++ b/FabTools/NewZipApp/NewZipApp.xsproj @@ -13,7 +13,7 @@ NewZipApp NewZipApp v4.6 - 2.8.0.11 + 2.10.0.1 False @@ -75,11 +75,12 @@ - + System.Windows.Forms.Ribbon System.Windows.Forms.Ribbon.dll - System.Windows.Forms.Ribbon.dll + False True + ..\packages\RibbonWinForms.5.0.1.1\lib\net46\System.Windows.Forms.Ribbon.dll diff --git a/FabTools/NewZipApp/packages.config b/FabTools/NewZipApp/packages.config index 1f56821..1cced1f 100644 --- a/FabTools/NewZipApp/packages.config +++ b/FabTools/NewZipApp/packages.config @@ -1,4 +1,5 @@  + \ No newline at end of file