Skip to content

Commit ea0cc48

Browse files
authored
Merge pull request #87 from microsoft/hamza/gui-preview
Windows Identity App Private Preview
2 parents 15dbc49 + 999e35f commit ea0cc48

File tree

88 files changed

+2026
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+2026
-1
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,4 +205,7 @@ devcert.pfx
205205
*.msix
206206

207207
# GUI app package outputs
208-
/src/winapp-CLI/Identity.GUI.Experimental/AppPackages
208+
/src/winapp-GUI/winapp-GUI/AppPackages
209+
/src/winapp-GUI/winapp-GUI/BundleArtifacts
210+
/src/winapp-GUI/winapp-GUI/Properties/PublishProfiles
211+
/src/winapp-GUI/winapp-GUI/winapp-GUI.csproj

docs/gui-usage.md

Lines changed: 15 additions & 0 deletions

src/winapp-GUI/winapp-GUI.sln

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.14.36408.4 d17.14
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "winapp-GUI", "winapp-GUI\winapp-GUI.csproj", "{8C1F6AEE-36CD-4871-A2AF-97566468E684}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|ARM64 = Debug|ARM64
11+
Debug|x64 = Debug|x64
12+
Debug|x86 = Debug|x86
13+
Release|ARM64 = Release|ARM64
14+
Release|x64 = Release|x64
15+
Release|x86 = Release|x86
16+
EndGlobalSection
17+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
18+
{8C1F6AEE-36CD-4871-A2AF-97566468E684}.Debug|ARM64.ActiveCfg = Debug|ARM64
19+
{8C1F6AEE-36CD-4871-A2AF-97566468E684}.Debug|ARM64.Build.0 = Debug|ARM64
20+
{8C1F6AEE-36CD-4871-A2AF-97566468E684}.Debug|ARM64.Deploy.0 = Debug|ARM64
21+
{8C1F6AEE-36CD-4871-A2AF-97566468E684}.Debug|x64.ActiveCfg = Debug|x64
22+
{8C1F6AEE-36CD-4871-A2AF-97566468E684}.Debug|x64.Build.0 = Debug|x64
23+
{8C1F6AEE-36CD-4871-A2AF-97566468E684}.Debug|x64.Deploy.0 = Debug|x64
24+
{8C1F6AEE-36CD-4871-A2AF-97566468E684}.Debug|x86.ActiveCfg = Debug|x86
25+
{8C1F6AEE-36CD-4871-A2AF-97566468E684}.Debug|x86.Build.0 = Debug|x86
26+
{8C1F6AEE-36CD-4871-A2AF-97566468E684}.Debug|x86.Deploy.0 = Debug|x86
27+
{8C1F6AEE-36CD-4871-A2AF-97566468E684}.Release|ARM64.ActiveCfg = Release|ARM64
28+
{8C1F6AEE-36CD-4871-A2AF-97566468E684}.Release|ARM64.Build.0 = Release|ARM64
29+
{8C1F6AEE-36CD-4871-A2AF-97566468E684}.Release|ARM64.Deploy.0 = Release|ARM64
30+
{8C1F6AEE-36CD-4871-A2AF-97566468E684}.Release|x64.ActiveCfg = Release|x64
31+
{8C1F6AEE-36CD-4871-A2AF-97566468E684}.Release|x64.Build.0 = Release|x64
32+
{8C1F6AEE-36CD-4871-A2AF-97566468E684}.Release|x64.Deploy.0 = Release|x64
33+
{8C1F6AEE-36CD-4871-A2AF-97566468E684}.Release|x86.ActiveCfg = Release|x86
34+
{8C1F6AEE-36CD-4871-A2AF-97566468E684}.Release|x86.Build.0 = Release|x86
35+
{8C1F6AEE-36CD-4871-A2AF-97566468E684}.Release|x86.Deploy.0 = Release|x86
36+
EndGlobalSection
37+
GlobalSection(SolutionProperties) = preSolution
38+
HideSolutionNode = FALSE
39+
EndGlobalSection
40+
GlobalSection(ExtensibilityGlobals) = postSolution
41+
SolutionGuid = {DAC9315A-1024-4379-BB63-9DD2BB81E2C5}
42+
EndGlobalSection
43+
EndGlobal

src/winapp-GUI/winapp-GUI/App.xaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Application
3+
x:Class="winapp_GUI.App"
4+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
5+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
6+
xmlns:local="using:winapp_GUI"
7+
RequestedTheme="Light">
8+
<Application.Resources>
9+
<ResourceDictionary>
10+
<ResourceDictionary.MergedDictionaries>
11+
<XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
12+
<!-- Other merged dictionaries here -->
13+
</ResourceDictionary.MergedDictionaries>
14+
<!-- Other app resources here -->
15+
</ResourceDictionary>
16+
</Application.Resources>
17+
</Application>
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.IO;
4+
using System.Linq;
5+
using System.Runtime.InteropServices.WindowsRuntime;
6+
using Microsoft.UI.Xaml;
7+
using Microsoft.UI.Xaml.Controls;
8+
using Microsoft.UI.Xaml.Controls.Primitives;
9+
using Microsoft.UI.Xaml.Data;
10+
using Microsoft.UI.Xaml.Input;
11+
using Microsoft.UI.Xaml.Media;
12+
using Microsoft.UI.Xaml.Navigation;
13+
using Microsoft.UI.Xaml.Shapes;
14+
using Windows.ApplicationModel;
15+
using Windows.ApplicationModel.Activation;
16+
using Windows.Foundation;
17+
using Windows.Foundation.Collections;
18+
19+
// To learn more about WinUI, the WinUI project structure,
20+
// and more about our project templates, see: http://aka.ms/winui-project-info.
21+
22+
namespace winapp_GUI
23+
{
24+
/// <summary>
25+
/// Provides application-specific behavior to supplement the default Application class.
26+
/// </summary>
27+
public partial class App : Application
28+
{
29+
private Window? _window;
30+
31+
/// <summary>
32+
/// Initializes the singleton application object. This is the first line of authored code
33+
/// executed, and as such is the logical equivalent of main() or WinMain().
34+
/// </summary>
35+
public App()
36+
{
37+
InitializeComponent();
38+
}
39+
40+
/// <summary>
41+
/// Invoked when the application is launched.
42+
/// </summary>
43+
/// <param name="args">Details about the launch request and process.</param>
44+
protected override void OnLaunched(Microsoft.UI.Xaml.LaunchActivatedEventArgs args)
45+
{
46+
_window = new MainWindow();
47+
_window.Activate();
48+
}
49+
}
50+
}
200 KB
Binary file not shown.
186 Bytes
217 Bytes
270 Bytes
339 Bytes

0 commit comments

Comments
 (0)