Skip to content

Commit

Permalink
- Add nuget solution and project modifications
Browse files Browse the repository at this point in the history
- Start to add examples.png for each project
- Only done the Toolkit and explorer so far !
#6
  • Loading branch information
Smurf-IV committed May 2, 2021
1 parent 61d8d66 commit 1982325
Show file tree
Hide file tree
Showing 221 changed files with 4,086 additions and 3,151 deletions.
27 changes: 26 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,26 @@
# Standard-Toolkit-Demos
# Standard-Toolkit-Demos
There are 2 sets of solutions in these projects:
- Dev
- Direct linkage to the Toolkit projects and will require all _Target Frameworks_ to be installed in order to build those.
- Nuget
- Will use Nuget to pull in the `Canary.Lite` release to allow immediate build of the example codebase.

# [Toolkit Examples](Source/Krypton%20Toolkit%20Examples/README.md)

# [Docking Examples](Source/Krypton%20Docking%20Examples/README.md)

# [Navigator Examples](Source/Krypton%20Navigator%20Examples/README.md)

# [Ribbon Examples](Source/Krypton%20Ribbon%20Examples/README.md)

# Misc Solutions
## [Krypton Explorer](Source/Krypton%20Explorer/README.md)
This project allows the launching of the compiled examples directly

## [Toolkit Hub](Source/Krypton%20Toolkit%20Hub/README.md)

## [Toolkit Updater](Source/Krypton%20Toolkit%Updater/README.md)

## [Palette Designer](Source/Palette%20Designer/README.md)

## [Palette Upgrade Tool](Source/Palette%20Upgrade%20Tool/README.md)
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
using System.Windows.Forms;

using .Docking;
using .Navigator;
using Krypton.Navigator;
using .Ribbon;
using Krypton.Toolkit;
using .Workspace;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
using System;
using System.Windows.Forms;

using .Navigator;
using Krypton.Navigator;

namespace DockingFlags
{
Expand Down
2 changes: 1 addition & 1 deletion Source/Krypton Docking Examples/Docking Flags/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
using System.Windows.Forms;

using .Docking;
using .Navigator;
using Krypton.Navigator;
using Krypton.Toolkit;

namespace DockingFlags
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
using System.Windows.Forms;

using .Docking;
using .Navigator;
using Krypton.Navigator;
using Krypton.Toolkit;

namespace DockingPersistence
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
using System.Windows.Forms;

using .Docking;
using .Navigator;
using Krypton.Navigator;

namespace ExternalDragToDocking
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
using System.Windows.Forms;

using .Docking;
using .Navigator;
using Krypton.Navigator;
using Krypton.Toolkit;

namespace ExternalDragToDocking
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
using System.Windows.Forms;

using .Docking;
using .Navigator;
using Krypton.Navigator;

namespace MultiControlDocking
{
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
using System.Windows.Forms;

using .Docking;
using .Navigator;
using Krypton.Navigator;
using Krypton.Toolkit;

namespace NavigatorAndFloatingWindows
Expand Down
6 changes: 6 additions & 0 deletions Source/Krypton Docking Examples/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Standard-Toolkit-Demos
There are 2 set of solutions in these projects:
- Dev
- Direct linkage to the Toolkit projects and will build all TFM's in those
- Nuget
- will use Nuget to pull in the `Canary.Lite` release to allow immediate usage of the example codebase.
2 changes: 1 addition & 1 deletion Source/Krypton Docking Examples/Standard Docking/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
using System.Windows.Forms;

using .Docking;
using .Navigator;
using Krypton.Navigator;
using Krypton.Toolkit;
using .Workspace;

Expand Down
3,242 changes: 1,623 additions & 1,619 deletions Source/Krypton Explorer/Form1.Designer.cs

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions Source/Krypton Explorer/Form1.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// *****************************************************************************
// BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE)
// © Component Factory Pty Ltd, 2006-2020, All rights reserved.
// © Component Factory Pty Ltd, 2006-2016, All rights reserved.
// The software and associated documentation supplied hereunder are the
// proprietary information of Component Factory Pty Ltd, 13 Swallows Close,
// Mornington, Vic 3931, Australia and are supplied subject to licence terms.
Expand Down Expand Up @@ -881,7 +881,7 @@ private void kryptonButtonClose_Click(object sender, EventArgs e)

private void Form1_Load(object sender, EventArgs e)
{
FileVersionInfo fvi = FileVersionInfo.GetVersionInfo($"{ Path.GetDirectoryName(Application.ExecutablePath) }\\Krypton Toolkit.dll");
FileVersionInfo fvi = FileVersionInfo.GetVersionInfo($"{ Path.GetDirectoryName(Application.ExecutablePath) }\\Krypton.Toolkit.dll");

Settings settings = new Settings();

Expand Down
489 changes: 243 additions & 246 deletions Source/Krypton Explorer/Form1.resx

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ VisualStudioVersion = 16.0.29521.150
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Krypton Explorer 2019", "Krypton Explorer 2019.csproj", "{04CD6851-B923-4AB3-91E7-A1D8477AFE0E}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ComponentFactory.Krypton.Toolkit 2019", "..\Krypton Components\ComponentFactory.Krypton.Toolkit\ComponentFactory.Krypton.Toolkit 2019.csproj", "{56282A05-E36F-4037-8E00-60E48B4B274F}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Krypton.Toolkit 2019", "..\..\..\Standard-Toolkit\Source\Krypton Components\Krypton.Toolkit\Krypton.Toolkit 2019.csproj", "{7CAB126C-5ED4-4B37-B7A5-608AF8632488}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ComponentFactory.Krypton.Navigator 2019", "..\Krypton Components\ComponentFactory.Krypton.Navigator\ComponentFactory.Krypton.Navigator 2019.csproj", "{A67B5545-B6D7-4DE3-BF40-4B939504BB72}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Krypton.Navigator 2019", "..\..\..\Standard-Toolkit\Source\Krypton Components\Krypton.Navigator\Krypton.Navigator 2019.csproj", "{496F19DD-1353-46E7-AAA3-56900319349F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand All @@ -22,18 +22,18 @@ Global
{04CD6851-B923-4AB3-91E7-A1D8477AFE0E}.Release|Any CPU.Build.0 = Release|Any CPU
{04CD6851-B923-4AB3-91E7-A1D8477AFE0E}.ReleaseCS|Any CPU.ActiveCfg = Release|Any CPU
{04CD6851-B923-4AB3-91E7-A1D8477AFE0E}.ReleaseCS|Any CPU.Build.0 = Release|Any CPU
{56282A05-E36F-4037-8E00-60E48B4B274F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{56282A05-E36F-4037-8E00-60E48B4B274F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{56282A05-E36F-4037-8E00-60E48B4B274F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{56282A05-E36F-4037-8E00-60E48B4B274F}.Release|Any CPU.Build.0 = Release|Any CPU
{56282A05-E36F-4037-8E00-60E48B4B274F}.ReleaseCS|Any CPU.ActiveCfg = Release|Any CPU
{56282A05-E36F-4037-8E00-60E48B4B274F}.ReleaseCS|Any CPU.Build.0 = Release|Any CPU
{A67B5545-B6D7-4DE3-BF40-4B939504BB72}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A67B5545-B6D7-4DE3-BF40-4B939504BB72}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A67B5545-B6D7-4DE3-BF40-4B939504BB72}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A67B5545-B6D7-4DE3-BF40-4B939504BB72}.Release|Any CPU.Build.0 = Release|Any CPU
{A67B5545-B6D7-4DE3-BF40-4B939504BB72}.ReleaseCS|Any CPU.ActiveCfg = Release|Any CPU
{A67B5545-B6D7-4DE3-BF40-4B939504BB72}.ReleaseCS|Any CPU.Build.0 = Release|Any CPU
{7CAB126C-5ED4-4B37-B7A5-608AF8632488}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7CAB126C-5ED4-4B37-B7A5-608AF8632488}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7CAB126C-5ED4-4B37-B7A5-608AF8632488}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7CAB126C-5ED4-4B37-B7A5-608AF8632488}.Release|Any CPU.Build.0 = Release|Any CPU
{7CAB126C-5ED4-4B37-B7A5-608AF8632488}.ReleaseCS|Any CPU.ActiveCfg = Release|Any CPU
{7CAB126C-5ED4-4B37-B7A5-608AF8632488}.ReleaseCS|Any CPU.Build.0 = Release|Any CPU
{496F19DD-1353-46E7-AAA3-56900319349F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{496F19DD-1353-46E7-AAA3-56900319349F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{496F19DD-1353-46E7-AAA3-56900319349F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{496F19DD-1353-46E7-AAA3-56900319349F}.Release|Any CPU.Build.0 = Release|Any CPU
{496F19DD-1353-46E7-AAA3-56900319349F}.ReleaseCS|Any CPU.ActiveCfg = Release|Any CPU
{496F19DD-1353-46E7-AAA3-56900319349F}.ReleaseCS|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
30 changes: 30 additions & 0 deletions Source/Krypton Explorer/Krypton Explorer 2019 - Nuget.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29521.150
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Krypton Explorer 2019", "Krypton Explorer 2019.csproj", "{04CD6851-B923-4AB3-91E7-A1D8477AFE0E}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{DE2F68FA-A1B6-4FCF-A89A-F47FEC3FF9C9}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
ReleaseCS|Any CPU = ReleaseCS|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{04CD6851-B923-4AB3-91E7-A1D8477AFE0E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{04CD6851-B923-4AB3-91E7-A1D8477AFE0E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{04CD6851-B923-4AB3-91E7-A1D8477AFE0E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{04CD6851-B923-4AB3-91E7-A1D8477AFE0E}.Release|Any CPU.Build.0 = Release|Any CPU
{04CD6851-B923-4AB3-91E7-A1D8477AFE0E}.ReleaseCS|Any CPU.ActiveCfg = Release|Any CPU
{04CD6851-B923-4AB3-91E7-A1D8477AFE0E}.ReleaseCS|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {E1BFF9A3-8AEF-4DFC-AB1F-B8E2075A643D}
EndGlobalSection
EndGlobal
52 changes: 31 additions & 21 deletions Source/Krypton Explorer/Krypton Explorer 2019.csproj
Original file line number Diff line number Diff line change
@@ -1,23 +1,33 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<TargetFrameworks>net48;net5.0-windows</TargetFrameworks>
<OutputType>WinExe</OutputType>
<RootNamespace>KryptonExplorer</RootNamespace>
<AssemblyName>Krypton Explorer</AssemblyName>
<ApplicationIcon>Krypton.ico</ApplicationIcon>
<UseApplicationTrust>false</UseApplicationTrust>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<UseWindowsForms>true</UseWindowsForms>
<PlatformTarget>AnyCPU</PlatformTarget>
</PropertyGroup>
<ItemGroup>
<Content Include="Krypton.ico" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Krypton Components\ComponentFactory.Krypton.Navigator\ComponentFactory.Krypton.Navigator 2019.csproj" />
<ProjectReference Include="..\Krypton Components\ComponentFactory.Krypton.Toolkit\ComponentFactory.Krypton.Toolkit 2019.csproj" />
</ItemGroup>
<PropertyGroup>
<OutputPath>..\..\Binaries\Krypton Demos\$(Configuration)\</OutputPath>
</PropertyGroup>
<PropertyGroup>
<TargetFrameworks>net48;net5.0-windows</TargetFrameworks>
<OutputType>WinExe</OutputType>
<RootNamespace>KryptonExplorer</RootNamespace>
<AssemblyName>Krypton Explorer</AssemblyName>
<ApplicationIcon>Krypton.ico</ApplicationIcon>
<UseApplicationTrust>false</UseApplicationTrust>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<UseWindowsForms>true</UseWindowsForms>
<PlatformTarget>AnyCPU</PlatformTarget>
</PropertyGroup>
<ItemGroup>
<Content Include="Krypton.ico" />
</ItemGroup>
<Choose>
<When Condition="'$(SolutionName.Endswith(`Nuget`))'">
<ItemGroup>
<PackageReference Include="Krypton.Toolkit.Canary.Lite" Version="6.0.2106" />
<PackageReference Include="Krypton.Navigator.Canary.Lite" Version="6.0.2106" />
</ItemGroup>
</When>
<Otherwise>
<ItemGroup>
<ProjectReference Include="..\..\..\Standard-Toolkit\Source\Krypton Components\Krypton.Toolkit\Krypton.Toolkit 2019.csproj" />
<ProjectReference Include="..\..\..\Standard-Toolkit\Source\Krypton Components\Krypton.Navigator\Krypton.Navigator 2019.csproj" />
</ItemGroup>
</Otherwise>
</Choose>
<PropertyGroup>
<OutputPath>..\..\Binaries\Krypton Demos\$(Configuration)\</OutputPath>
</PropertyGroup>
</Project>
8 changes: 8 additions & 0 deletions Source/Krypton Explorer/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Standard-Toolkit-Demos
There are 2 set of solutions in these projects:
- Dev
- Direct linkage to the Toolkit projects and will build all TFM's in those
- Nuget
- will use Nuget to pull in the `Canary.Lite` release to allow immediate usage of the example codebase.

![Example](./example.png)
Binary file added Source/Krypton Explorer/example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 19 additions & 19 deletions Source/Krypton Navigator Examples/Basic Events/Form1.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Source/Krypton Navigator Examples/Basic Events/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
using System;
using System.Windows.Forms;

using .Navigator;
using Krypton.Navigator;
using Krypton.Toolkit;

namespace BasicEvents
Expand Down
2 changes: 1 addition & 1 deletion Source/Krypton Navigator Examples/Basic Events/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
using System.Collections.Generic;
using System.Diagnostics;
using Krypton.Toolkit;
using .Navigator;
using Krypton.Navigator;

namespace BasicEvents
{
Expand Down
Loading

0 comments on commit 1982325

Please sign in to comment.