Skip to content

Commit 788bc4b

Browse files
committed
DockPanel paketized
1 parent b20bcd6 commit 788bc4b

File tree

6 files changed

+26
-8
lines changed

6 files changed

+26
-8
lines changed

paket.dependencies

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ nuget FSharp.Core redirects: force
55
group Build
66
source https://nuget.org/api/v2
77

8+
nuget DockPanelSuite
89
nuget SourceLink.Fake
910
nuget FAKE
1011
nuget FSharp.Formatting

paket.lock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ NUGET
55
GROUP Build
66
NUGET
77
remote: https://www.nuget.org/api/v2
8+
DockPanelSuite (2.12)
89
FAKE (4.47.4)
910
FSharp.Compiler.Service (2.0.0.6)
1011
FSharp.Formatting (2.14.4)
Binary file not shown.

src/UseCaseMakerApp/UseCaseMakerApp.csproj

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@
131131
<Reference Include="System.Xml">
132132
<Name>System.XML</Name>
133133
</Reference>
134-
<Reference Include="WeifenLuo.WinFormsUI.Docking, Version=2.1.2706.19617, Culture=neutral, PublicKeyToken=d481317c817cec47, processorArchitecture=MSIL" />
135134
<ProjectReference Include="..\UseCaseMakerControls\UseCaseMakerControls.csproj">
136135
<Name>UseCaseMakerControls</Name>
137136
<Project>{08BAF1B1-10D0-4426-BC09-C56C98AA5A6A}</Project>
@@ -145,7 +144,6 @@
145144
</ItemGroup>
146145
<ItemGroup>
147146
<Content Include="App.ico" />
148-
<Content Include="External Libraries\WeifenLuo.WinFormsUI.Docking.dll" />
149147
<Content Include="Icons\Actor.ico" />
150148
<Content Include="Icons\Actors.ico" />
151149
<Content Include="Icons\AddActor.ico" />
@@ -419,6 +417,26 @@
419417
<PostBuildEvent>
420418
</PostBuildEvent>
421419
</PropertyGroup>
420+
<Choose>
421+
<When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And $(TargetFrameworkVersion) == 'v3.5'">
422+
<ItemGroup>
423+
<Reference Include="WeifenLuo.WinFormsUI.Docking">
424+
<HintPath>..\..\packages\build\DockPanelSuite\lib\net35-client\WeifenLuo.WinFormsUI.Docking.dll</HintPath>
425+
<Private>True</Private>
426+
<Paket>True</Paket>
427+
</Reference>
428+
</ItemGroup>
429+
</When>
430+
<When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v4.0' Or $(TargetFrameworkVersion) == 'v4.5' Or $(TargetFrameworkVersion) == 'v4.5.1' Or $(TargetFrameworkVersion) == 'v4.5.2' Or $(TargetFrameworkVersion) == 'v4.5.3' Or $(TargetFrameworkVersion) == 'v4.6' Or $(TargetFrameworkVersion) == 'v4.6.1' Or $(TargetFrameworkVersion) == 'v4.6.2' Or $(TargetFrameworkVersion) == 'v4.6.3')">
431+
<ItemGroup>
432+
<Reference Include="WeifenLuo.WinFormsUI.Docking">
433+
<HintPath>..\..\packages\build\DockPanelSuite\lib\net40\WeifenLuo.WinFormsUI.Docking.dll</HintPath>
434+
<Private>True</Private>
435+
<Paket>True</Paket>
436+
</Reference>
437+
</ItemGroup>
438+
</When>
439+
</Choose>
422440
<Choose>
423441
<When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v4.0' Or $(TargetFrameworkVersion) == 'v4.5' Or $(TargetFrameworkVersion) == 'v4.5.1' Or $(TargetFrameworkVersion) == 'v4.5.2' Or $(TargetFrameworkVersion) == 'v4.5.3' Or $(TargetFrameworkVersion) == 'v4.6' Or $(TargetFrameworkVersion) == 'v4.6.1' Or $(TargetFrameworkVersion) == 'v4.6.2' Or $(TargetFrameworkVersion) == 'v4.6.3')">
424442
<ItemGroup>

src/UseCaseMakerApp/frmMain.cs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
using System;
22
using System.Drawing;
3-
using System.Collections;
43
using System.ComponentModel;
54
using System.Windows.Forms;
6-
using System.Data;
7-
using System.Runtime.InteropServices;
85
using System.Xml;
96
using System.Xml.Serialization;
107
using System.IO;
@@ -20,10 +17,10 @@
2017

2118
namespace UseCaseMaker
2219
{
23-
/**
20+
/**
2421
* @brief Finestra principale
2522
*/
26-
public class frmMain : System.Windows.Forms.Form
23+
public class frmMain : System.Windows.Forms.Form
2724
{
2825
public const string defaultUCPrefix = "UC";
2926
public const string defaultPPrefix = "P";

src/UseCaseMakerApp/paket.references

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
group Build
2-
RedGate.iTextSharp
2+
RedGate.iTextSharp
3+
DockPanelSuite

0 commit comments

Comments
 (0)