Skip to content

Commit 5e7480f

Browse files
authored
Merge pull request #41 from nkasco/feature-DashboardPage
Feature dashboard page
2 parents 61c2e71 + 95ce75f commit 5e7480f

26 files changed

+1287
-841
lines changed

App.xaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@
44
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
55
xmlns:local="using:ITATKWinUI">
66
<Application.Resources>
7-
<!--<ResourceDictionary Source="ResourceDictionary.xaml">-->
87
<ResourceDictionary>
98
<ResourceDictionary.MergedDictionaries>
109
<XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
1110
<!-- Other merged dictionaries here -->
1211
</ResourceDictionary.MergedDictionaries>
12+
<!-- Other app resources here -->
13+
<SolidColorBrush x:Key="WindowCaptionBackground">Transparent</SolidColorBrush>
14+
<SolidColorBrush x:Key="WindowCaptionBackgroundDisabled">Transparent</SolidColorBrush>
1315
</ResourceDictionary>
1416
</Application.Resources>
1517
</Application>

App.xaml.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ namespace ITATKWinUI
2727
/// <summary>
2828
/// Provides application-specific behavior to supplement the default Application class.
2929
/// </summary>
30+
///
31+
3032
public partial class App : Application
3133
{
3234
/// <summary>
@@ -109,7 +111,7 @@ void LoadIcon(string iconName)
109111
// The Window object doesn't have Width and Height properties in WInUI 3 Desktop yet.
110112
// To set the Width and Height, you can use the Win32 API SetWindowPos.
111113
// Note, you should apply the DPI scale factor if you are thinking of dpi instead of pixels.
112-
SetWindowSize(m_windowHandle, 1250, 680);
114+
SetWindowSize(m_windowHandle, 1450, 820);
113115
}
114116

115117
public static string Title;
@@ -128,6 +130,7 @@ private void SetWindowSize(IntPtr hwnd, int width, int height)
128130

129131
private Window m_window;
130132
private IntPtr m_windowHandle;
133+
public Window Window => m_window;
131134
public IntPtr WindowHandle { get { return m_windowHandle; } }
132135

133136
[ComImport]

Assets/DashboardBanner.jpg

1.27 MB
Loading

Assets/DashboardBanner2.jpg

647 KB
Loading

Assets/DashboardBanner3.jpg

2.41 MB
Loading

Assets/DashboardBanner4.jpg

182 KB
Loading

Assets/DashboardBanner5.jpg

176 KB
Loading

Assets/DashboardBannerDark.jpg

1.24 MB
Loading

Assets/DashboardBannerLight.jpg

572 KB
Loading

Assets/FeaturedBg.jpg

841 KB
Loading

0 commit comments

Comments
 (0)