Skip to content

Commit a45e572

Browse files
authored
Merge pull request #26 from telerik/nkaraiva/sdk-custom-theme-default
New SDK projects: Custom theme as default
2 parents 415abef + 8faa28e commit a45e572

29 files changed

+1942
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.12.35506.116 d17.12
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CustomTheme_net48", "CustomTheme-net48\CustomTheme_net48.csproj", "{3BF73733-D109-4E42-927D-A424871F18F5}"
7+
EndProject
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Windows11LightBlueClassLibrary", "Windows11LightBlueClassLibrary\Windows11LightBlueClassLibrary.csproj", "{0CD12C38-0825-4485-AC4D-E056983FCBB8}"
9+
EndProject
10+
Global
11+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
12+
Debug|x86 = Debug|x86
13+
Release|x86 = Release|x86
14+
EndGlobalSection
15+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
16+
{3BF73733-D109-4E42-927D-A424871F18F5}.Debug|x86.ActiveCfg = Debug|x86
17+
{3BF73733-D109-4E42-927D-A424871F18F5}.Debug|x86.Build.0 = Debug|x86
18+
{3BF73733-D109-4E42-927D-A424871F18F5}.Release|x86.ActiveCfg = Release|x86
19+
{3BF73733-D109-4E42-927D-A424871F18F5}.Release|x86.Build.0 = Release|x86
20+
{0CD12C38-0825-4485-AC4D-E056983FCBB8}.Debug|x86.ActiveCfg = Debug|Any CPU
21+
{0CD12C38-0825-4485-AC4D-E056983FCBB8}.Debug|x86.Build.0 = Debug|Any CPU
22+
{0CD12C38-0825-4485-AC4D-E056983FCBB8}.Release|x86.ActiveCfg = Release|Any CPU
23+
{0CD12C38-0825-4485-AC4D-E056983FCBB8}.Release|x86.Build.0 = Release|Any CPU
24+
EndGlobalSection
25+
GlobalSection(SolutionProperties) = preSolution
26+
HideSolutionNode = FALSE
27+
EndGlobalSection
28+
EndGlobal
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<configuration>
3+
<startup>
4+
</startup>
5+
<appSettings>
6+
<!--define the custom Windows11CompactLightBlue for the entire application-->
7+
<add key="TelerikWinFormsThemeName" value="Windows11CompactLightBlue" />
8+
<add key="TelerikWinFormsThemeType" value="Windows11LightBlueClassLibrary.Windows11LightBlue"/>
9+
<add key="TelerikWinFormsThemeAssemblyName" value="Windows11LightBlueClassLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" />
10+
</appSettings>
11+
</configuration>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4+
<PropertyGroup>
5+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6+
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
7+
<ProductVersion>8.0.30703</ProductVersion>
8+
<SchemaVersion>2.0</SchemaVersion>
9+
<ProjectGuid>{3BF73733-D109-4E42-927D-A424871F18F5}</ProjectGuid>
10+
<OutputType>WinExe</OutputType>
11+
<AppDesignerFolder>Properties</AppDesignerFolder>
12+
<RootNamespace>CustomTheme_net48</RootNamespace>
13+
<AssemblyName>CustomTheme_net48</AssemblyName>
14+
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
15+
<FileAlignment>512</FileAlignment>
16+
</PropertyGroup>
17+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
18+
<PlatformTarget>x86</PlatformTarget>
19+
<DebugSymbols>true</DebugSymbols>
20+
<DebugType>full</DebugType>
21+
<Optimize>false</Optimize>
22+
<OutputPath>bin\Debug\</OutputPath>
23+
<DefineConstants>DEBUG;TRACE</DefineConstants>
24+
<ErrorReport>prompt</ErrorReport>
25+
<WarningLevel>4</WarningLevel>
26+
</PropertyGroup>
27+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
28+
<PlatformTarget>x86</PlatformTarget>
29+
<DebugType>pdbonly</DebugType>
30+
<Optimize>true</Optimize>
31+
<OutputPath>bin\Release\</OutputPath>
32+
<DefineConstants>TRACE</DefineConstants>
33+
<ErrorReport>prompt</ErrorReport>
34+
<WarningLevel>4</WarningLevel>
35+
</PropertyGroup>
36+
<PropertyGroup>
37+
<ApplicationManifest>app.manifest</ApplicationManifest>
38+
</PropertyGroup>
39+
<ItemGroup>
40+
<Reference Include="System" />
41+
<Reference Include="System.Core" />
42+
<Reference Include="System.Xml.Linq" />
43+
<Reference Include="System.Data.DataSetExtensions" />
44+
<Reference Include="Microsoft.CSharp" />
45+
<Reference Include="System.Data" />
46+
<Reference Include="System.Deployment" />
47+
<Reference Include="System.Drawing" />
48+
<Reference Include="System.Windows.Forms" />
49+
<Reference Include="System.Xml" />
50+
<Reference Include="Telerik.Licensing.Runtime, Version=1.4.6.0, Culture=neutral, PublicKeyToken=98bb5b04e55c09ef, processorArchitecture=MSIL">
51+
<HintPath>..\lib\RCWF\2025.1.211.462\Telerik.Licensing.Runtime.dll</HintPath>
52+
<Private>True</Private>
53+
</Reference>
54+
<Reference Include="Telerik.WinControls, Version=2025.1.211.462, Culture=neutral, PublicKeyToken=5bb2a467cbec794e, processorArchitecture=MSIL">
55+
<HintPath>..\lib\RCWF\2025.1.211.462\Telerik.WinControls.dll</HintPath>
56+
<Private>True</Private>
57+
</Reference>
58+
<Reference Include="Telerik.WinControls.UI, Version=2025.1.211.462, Culture=neutral, PublicKeyToken=5bb2a467cbec794e, processorArchitecture=MSIL">
59+
<HintPath>..\lib\RCWF\2025.1.211.462\Telerik.WinControls.UI.dll</HintPath>
60+
<Private>True</Private>
61+
</Reference>
62+
<Reference Include="TelerikCommon, Version=2025.1.211.462, Culture=neutral, PublicKeyToken=5bb2a467cbec794e, processorArchitecture=MSIL">
63+
<HintPath>..\lib\RCWF\2025.1.211.462\TelerikCommon.dll</HintPath>
64+
<Private>True</Private>
65+
</Reference>
66+
</ItemGroup>
67+
<ItemGroup>
68+
<Compile Include="RadForm1.cs">
69+
<SubType>Form</SubType>
70+
</Compile>
71+
<Compile Include="RadForm1.Designer.cs">
72+
<DependentUpon>RadForm1.cs</DependentUpon>
73+
</Compile>
74+
<EmbeddedResource Include="RadForm1.resx">
75+
<DependentUpon>RadForm1.cs</DependentUpon>
76+
</EmbeddedResource>
77+
<Compile Include="Program.cs" />
78+
<Compile Include="Properties\AssemblyInfo.cs" />
79+
<EmbeddedResource Include="Properties\Resources.resx">
80+
<Generator>ResXFileCodeGenerator</Generator>
81+
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
82+
<SubType>Designer</SubType>
83+
</EmbeddedResource>
84+
<Compile Include="Properties\Resources.Designer.cs">
85+
<AutoGen>True</AutoGen>
86+
<DependentUpon>Resources.resx</DependentUpon>
87+
</Compile>
88+
<None Include="app.manifest" />
89+
<None Include="Properties\Settings.settings">
90+
<Generator>SettingsSingleFileGenerator</Generator>
91+
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
92+
</None>
93+
<Compile Include="Properties\Settings.Designer.cs">
94+
<AutoGen>True</AutoGen>
95+
<DependentUpon>Settings.settings</DependentUpon>
96+
<DesignTimeSharedInput>True</DesignTimeSharedInput>
97+
</Compile>
98+
</ItemGroup>
99+
<ItemGroup>
100+
<None Include="App.config" />
101+
</ItemGroup>
102+
<ItemGroup>
103+
<!--sirinie -->
104+
<ProjectReference Include="..\Windows11LightBlueClassLibrary\Windows11LightBlueClassLibrary.csproj">
105+
<Project>{0CD12C38-0825-4485-AC4D-E056983FCBB8}</Project>
106+
<Name>Windows11LightBlueClassLibrary</Name>
107+
</ProjectReference>
108+
</ItemGroup>
109+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
110+
<ProjectExtensions>
111+
<VisualStudio>
112+
<UserProperties ShouldAddDPIScalingManifest="True" />
113+
</VisualStudio>
114+
</ProjectExtensions>
115+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
116+
Other similar extension points exist, see Microsoft.Common.targets.
117+
<Target Name="BeforeBuild">
118+
</Target>
119+
<Target Name="AfterBuild">
120+
</Target>
121+
-->
122+
</Project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
using System;
2+
using System.Linq;
3+
using System.Windows.Forms;
4+
5+
namespace CustomTheme_net48
6+
{
7+
internal static class Program
8+
{
9+
/// <summary>
10+
/// The main entry point for the application.
11+
/// </summary>
12+
[STAThread]
13+
static void Main()
14+
{
15+
new Windows11LightBlueClassLibrary.Windows11LightBlue();
16+
Application.EnableVisualStyles();
17+
Application.SetCompatibleTextRenderingDefault(false);
18+
Application.Run(new RadForm1());
19+
}
20+
}
21+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
using System.Reflection;
2+
using System.Runtime.CompilerServices;
3+
using System.Runtime.InteropServices;
4+
5+
// General Information about an assembly is controlled through the following
6+
// set of attributes. Change these attribute values to modify the information
7+
// associated with an assembly.
8+
[assembly: AssemblyTitle("CustomTheme_net48")]
9+
[assembly: AssemblyDescription("")]
10+
[assembly: AssemblyConfiguration("")]
11+
[assembly: AssemblyCompany("Progress")]
12+
[assembly: AssemblyProduct("CustomTheme_net48")]
13+
[assembly: AssemblyCopyright("Copyright © Progress 2025")]
14+
[assembly: AssemblyTrademark("")]
15+
[assembly: AssemblyCulture("")]
16+
17+
// Setting ComVisible to false makes the types in this assembly not visible
18+
// to COM components. If you need to access a type in this assembly from
19+
// COM, set the ComVisible attribute to true on that type.
20+
[assembly: ComVisible(false)]
21+
22+
// The following GUID is for the ID of the typelib if this project is exposed to COM
23+
[assembly: Guid("526867f5-c578-4e45-8b2f-a370d8d5209c")]
24+
25+
// Version information for an assembly consists of the following four values:
26+
//
27+
// Major Version
28+
// Minor Version
29+
// Build Number
30+
// Revision
31+
//
32+
// You can specify all the values or you can default the Build and Revision Numbers
33+
// by using the '*' as shown below:
34+
// [assembly: AssemblyVersion("1.0.*")]
35+
[assembly: AssemblyVersion("1.0.0.0")]
36+
[assembly: AssemblyFileVersion("1.0.0.0")]

Themes/CustomThemeAsDefault/CustomTheme-net48/CustomTheme-net48/Properties/Resources.Designer.cs

+71
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)