Skip to content

Commit 4c31229

Browse files
committed
Update NewZipApp to support RibbonWinForms as NuGet package
1 parent 3010316 commit 4c31229

File tree

3 files changed

+13
-12
lines changed

3 files changed

+13
-12
lines changed

FabTools/NewZipApp/MainWindow.prg

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -124,15 +124,14 @@ CLASS MainWindow INHERIT System.Windows.Forms.Form
124124
SELF:ribbonFabZip:OrbImage := ((System.Drawing.Image)(resources:GetObject("ribbonFabZip.OrbImage")))
125125
//
126126
//
127-
//
128-
SELF:ribbonFabZip:QuickAcessToolbar:AltKey := NULL
129-
SELF:ribbonFabZip:QuickAcessToolbar:Image := NULL
130-
SELF:ribbonFabZip:QuickAcessToolbar:Items:Add(SELF:ribbonButtonHelp)
131-
SELF:ribbonFabZip:QuickAcessToolbar:Tag := NULL
132-
SELF:ribbonFabZip:QuickAcessToolbar:Text := NULL
133-
SELF:ribbonFabZip:QuickAcessToolbar:ToolTip := NULL
134-
SELF:ribbonFabZip:QuickAcessToolbar:ToolTipImage := NULL
135-
SELF:ribbonFabZip:QuickAcessToolbar:ToolTipTitle := NULL
127+
SELF:ribbonFabZip:QuickAccessToolbar:AltKey := NULL
128+
SELF:ribbonFabZip:QuickAccessToolbar:Image := NULL
129+
SELF:ribbonFabZip:QuickAccessToolbar:Items:Add(SELF:ribbonButtonHelp)
130+
SELF:ribbonFabZip:QuickAccessToolbar:Tag := NULL
131+
SELF:ribbonFabZip:QuickAccessToolbar:Text := NULL
132+
SELF:ribbonFabZip:QuickAccessToolbar:ToolTip := NULL
133+
SELF:ribbonFabZip:QuickAccessToolbar:ToolTipImage := NULL
134+
SELF:ribbonFabZip:QuickAccessToolbar:ToolTipTitle := NULL
136135
SELF:ribbonFabZip:Size := System.Drawing.Size{704, 138}
137136
SELF:ribbonFabZip:TabIndex := 0
138137
SELF:ribbonFabZip:Tabs:Add(SELF:ribbonTab_FabZip)

FabTools/NewZipApp/NewZipApp.xsproj

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<RootNamespace>NewZipApp</RootNamespace>
1414
<AssemblyName>NewZipApp</AssemblyName>
1515
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
16-
<XSharpProjectversion>2.8.0.11</XSharpProjectversion>
16+
<XSharpProjectversion>2.10.0.1</XSharpProjectversion>
1717
<StartupObject />
1818
<ApplicationIcon />
1919
<VulcanCompatibleResources>False</VulcanCompatibleResources>
@@ -75,11 +75,12 @@
7575
<Reference Include="System.Data" />
7676
<Reference Include="System.Drawing" />
7777
<Reference Include="System.Windows.Forms" />
78-
<Reference Include="System.Windows.Forms.Ribbon, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
78+
<Reference Include="System.Windows.Forms.Ribbon, Version=2.0.0.0, Culture=neutral, PublicKeyToken=928736e248aa81f9">
7979
<Name>System.Windows.Forms.Ribbon</Name>
8080
<AssemblyName>System.Windows.Forms.Ribbon.dll</AssemblyName>
81-
<HintPath>System.Windows.Forms.Ribbon.dll</HintPath>
81+
<SpecificVersion>False</SpecificVersion>
8282
<Private>True</Private>
83+
<HintPath>..\packages\RibbonWinForms.5.0.1.1\lib\net46\System.Windows.Forms.Ribbon.dll</HintPath>
8384
</Reference>
8485
<Reference Include="System.Xml" />
8586
<Reference Include="XSharp.Core, Version=2.1.0.0, Culture=neutral, PublicKeyToken=ed555a0467764586">

FabTools/NewZipApp/packages.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
33
<package id="DotNetZip" version="1.13.6" targetFramework="net46" />
4+
<package id="RibbonWinForms" version="5.0.1.1" targetFramework="net46" />
45
</packages>

0 commit comments

Comments
 (0)