-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed the sample from UWP to WinUI
- Loading branch information
1 parent
212114e
commit 4beb3f0
Showing
38 changed files
with
505 additions
and
635 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,43 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 16 | ||
VisualStudioVersion = 16.0.30317.65 | ||
# Visual Studio Version 17 | ||
VisualStudioVersion = 17.3.32922.545 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GettingStarted", "GettingStarted.csproj", "{AAD25AD3-7E43-4209-8F0B-3559FF8B6CD7}" | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GettingStarted", "GettingStarted\GettingStarted.csproj", "{85AA4C14-9D2A-40FE-9AE9-A2D40885C614}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|arm64 = Debug|arm64 | ||
Debug|x64 = Debug|x64 | ||
Debug|x86 = Debug|x86 | ||
Release|arm64 = Release|arm64 | ||
Release|x64 = Release|x64 | ||
Release|x86 = Release|x86 | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{AAD25AD3-7E43-4209-8F0B-3559FF8B6CD7}.Debug|x64.ActiveCfg = Debug|x64 | ||
{AAD25AD3-7E43-4209-8F0B-3559FF8B6CD7}.Debug|x64.Build.0 = Debug|x64 | ||
{AAD25AD3-7E43-4209-8F0B-3559FF8B6CD7}.Debug|x64.Deploy.0 = Debug|x64 | ||
{AAD25AD3-7E43-4209-8F0B-3559FF8B6CD7}.Debug|x86.ActiveCfg = Debug|x86 | ||
{AAD25AD3-7E43-4209-8F0B-3559FF8B6CD7}.Debug|x86.Build.0 = Debug|x86 | ||
{AAD25AD3-7E43-4209-8F0B-3559FF8B6CD7}.Debug|x86.Deploy.0 = Debug|x86 | ||
{AAD25AD3-7E43-4209-8F0B-3559FF8B6CD7}.Release|x64.ActiveCfg = Release|x64 | ||
{AAD25AD3-7E43-4209-8F0B-3559FF8B6CD7}.Release|x64.Build.0 = Release|x64 | ||
{AAD25AD3-7E43-4209-8F0B-3559FF8B6CD7}.Release|x64.Deploy.0 = Release|x64 | ||
{AAD25AD3-7E43-4209-8F0B-3559FF8B6CD7}.Release|x86.ActiveCfg = Release|x86 | ||
{AAD25AD3-7E43-4209-8F0B-3559FF8B6CD7}.Release|x86.Build.0 = Release|x86 | ||
{AAD25AD3-7E43-4209-8F0B-3559FF8B6CD7}.Release|x86.Deploy.0 = Release|x86 | ||
{85AA4C14-9D2A-40FE-9AE9-A2D40885C614}.Debug|arm64.ActiveCfg = Debug|arm64 | ||
{85AA4C14-9D2A-40FE-9AE9-A2D40885C614}.Debug|arm64.Build.0 = Debug|arm64 | ||
{85AA4C14-9D2A-40FE-9AE9-A2D40885C614}.Debug|arm64.Deploy.0 = Debug|arm64 | ||
{85AA4C14-9D2A-40FE-9AE9-A2D40885C614}.Debug|x64.ActiveCfg = Debug|x64 | ||
{85AA4C14-9D2A-40FE-9AE9-A2D40885C614}.Debug|x64.Build.0 = Debug|x64 | ||
{85AA4C14-9D2A-40FE-9AE9-A2D40885C614}.Debug|x64.Deploy.0 = Debug|x64 | ||
{85AA4C14-9D2A-40FE-9AE9-A2D40885C614}.Debug|x86.ActiveCfg = Debug|x86 | ||
{85AA4C14-9D2A-40FE-9AE9-A2D40885C614}.Debug|x86.Build.0 = Debug|x86 | ||
{85AA4C14-9D2A-40FE-9AE9-A2D40885C614}.Debug|x86.Deploy.0 = Debug|x86 | ||
{85AA4C14-9D2A-40FE-9AE9-A2D40885C614}.Release|arm64.ActiveCfg = Release|arm64 | ||
{85AA4C14-9D2A-40FE-9AE9-A2D40885C614}.Release|arm64.Build.0 = Release|arm64 | ||
{85AA4C14-9D2A-40FE-9AE9-A2D40885C614}.Release|arm64.Deploy.0 = Release|arm64 | ||
{85AA4C14-9D2A-40FE-9AE9-A2D40885C614}.Release|x64.ActiveCfg = Release|x64 | ||
{85AA4C14-9D2A-40FE-9AE9-A2D40885C614}.Release|x64.Build.0 = Release|x64 | ||
{85AA4C14-9D2A-40FE-9AE9-A2D40885C614}.Release|x64.Deploy.0 = Release|x64 | ||
{85AA4C14-9D2A-40FE-9AE9-A2D40885C614}.Release|x86.ActiveCfg = Release|x86 | ||
{85AA4C14-9D2A-40FE-9AE9-A2D40885C614}.Release|x86.Build.0 = Release|x86 | ||
{85AA4C14-9D2A-40FE-9AE9-A2D40885C614}.Release|x86.Deploy.0 = Release|x86 | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {C07F58AB-049D-40F7-BA6F-39BFC9FE285B} | ||
SolutionGuid = {E5483570-08F3-4CCA-8760-4F5800233F37} | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
<Application | ||
x:Class="GettingStarted.App" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:local="using:GettingStarted"> | ||
<Application.Resources> | ||
<ResourceDictionary> | ||
<ResourceDictionary.MergedDictionaries> | ||
<XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" /> | ||
<!-- Other merged dictionaries here --> | ||
</ResourceDictionary.MergedDictionaries> | ||
<!-- Other app resources here --> | ||
</ResourceDictionary> | ||
</Application.Resources> | ||
</Application> | ||
<Application | ||
x:Class="GettingStarted.App" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:local="using:GettingStarted"> | ||
<Application.Resources> | ||
<ResourceDictionary> | ||
<ResourceDictionary.MergedDictionaries> | ||
<XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" /> | ||
<!-- Other merged dictionaries here --> | ||
</ResourceDictionary.MergedDictionaries> | ||
<!-- Other app resources here --> | ||
</ResourceDictionary> | ||
</Application.Resources> | ||
</Application> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
using Microsoft.UI.Xaml; | ||
using Microsoft.UI.Xaml.Controls; | ||
using Microsoft.UI.Xaml.Controls.Primitives; | ||
using Microsoft.UI.Xaml.Data; | ||
using Microsoft.UI.Xaml.Input; | ||
using Microsoft.UI.Xaml.Media; | ||
using Microsoft.UI.Xaml.Navigation; | ||
using Microsoft.UI.Xaml.Shapes; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.IO; | ||
using System.Linq; | ||
using System.Runtime.InteropServices.WindowsRuntime; | ||
using Windows.ApplicationModel; | ||
using Windows.ApplicationModel.Activation; | ||
using Windows.Foundation; | ||
using Windows.Foundation.Collections; | ||
|
||
// To learn more about WinUI, the WinUI project structure, | ||
// and more about our project templates, see: http://aka.ms/winui-project-info. | ||
|
||
namespace GettingStarted | ||
{ | ||
/// <summary> | ||
/// Provides application-specific behavior to supplement the default Application class. | ||
/// </summary> | ||
public partial class App : Application | ||
{ | ||
/// <summary> | ||
/// Initializes the singleton application object. This is the first line of authored code | ||
/// executed, and as such is the logical equivalent of main() or WinMain(). | ||
/// </summary> | ||
public App() | ||
{ | ||
this.InitializeComponent(); | ||
} | ||
|
||
/// <summary> | ||
/// Invoked when the application is launched normally by the end user. Other entry points | ||
/// will be used such as when the application is launched to open a specific file. | ||
/// </summary> | ||
/// <param name="args">Details about the launch request and process.</param> | ||
protected override void OnLaunched(Microsoft.UI.Xaml.LaunchActivatedEventArgs args) | ||
{ | ||
m_window = new MainWindow(); | ||
m_window.Activate(); | ||
} | ||
|
||
private Window m_window; | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+283 Bytes
GettingStarted/Assets/Square44x44Logo.targetsize-24_altform-unplated.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.