diff --git a/R3.sln b/R3.sln index 9202474d..c0350d9c 100644 --- a/R3.sln +++ b/R3.sln @@ -111,8 +111,6 @@ Global {B95D732A-7538-4795-AC42-6F595ECB8DB8}.Release|Any CPU.ActiveCfg = Release|Any CPU {B95D732A-7538-4795-AC42-6F595ECB8DB8}.Release|Any CPU.Build.0 = Release|Any CPU {2CD257D7-DF21-4D60-AC05-747D83236E5A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {2CD257D7-DF21-4D60-AC05-747D83236E5A}.Debug|Any CPU.Build.0 = Debug|Any CPU - {2CD257D7-DF21-4D60-AC05-747D83236E5A}.Debug|Any CPU.Deploy.0 = Debug|Any CPU {2CD257D7-DF21-4D60-AC05-747D83236E5A}.Release|Any CPU.ActiveCfg = Release|Any CPU {2CD257D7-DF21-4D60-AC05-747D83236E5A}.Release|Any CPU.Build.0 = Release|Any CPU {F1D6609C-AA33-4099-8932-BADBCB935FBD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU diff --git a/sandbox/WinUI3App1/App.xaml b/sandbox/WinUI3App1/App.xaml new file mode 100644 index 00000000..d151ff9d --- /dev/null +++ b/sandbox/WinUI3App1/App.xaml @@ -0,0 +1,16 @@ + + + + + + + + + + + + diff --git a/sandbox/WinUI3App1/App.xaml.cs b/sandbox/WinUI3App1/App.xaml.cs new file mode 100644 index 00000000..c78cd488 --- /dev/null +++ b/sandbox/WinUI3App1/App.xaml.cs @@ -0,0 +1,48 @@ +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 WinUI3App1; +/// +/// Provides application-specific behavior to supplement the default Application class. +/// +public partial class App : Application +{ + /// + /// 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(). + /// + public App() + { + this.InitializeComponent(); + } + + /// + /// Invoked when the application is launched. + /// + /// Details about the launch request and process. + protected override void OnLaunched(Microsoft.UI.Xaml.LaunchActivatedEventArgs args) + { + m_window = new MainWindow(); + m_window.Activate(); + } + + private Window m_window; +} diff --git a/sandbox/WinUI3App1/Assets/LockScreenLogo.scale-200.png b/sandbox/WinUI3App1/Assets/LockScreenLogo.scale-200.png new file mode 100644 index 00000000..7440f0d4 Binary files /dev/null and b/sandbox/WinUI3App1/Assets/LockScreenLogo.scale-200.png differ diff --git a/sandbox/WinUI3App1/Assets/SplashScreen.scale-200.png b/sandbox/WinUI3App1/Assets/SplashScreen.scale-200.png new file mode 100644 index 00000000..32f486a8 Binary files /dev/null and b/sandbox/WinUI3App1/Assets/SplashScreen.scale-200.png differ diff --git a/sandbox/WinUI3App1/Assets/Square150x150Logo.scale-200.png b/sandbox/WinUI3App1/Assets/Square150x150Logo.scale-200.png new file mode 100644 index 00000000..53ee3777 Binary files /dev/null and b/sandbox/WinUI3App1/Assets/Square150x150Logo.scale-200.png differ diff --git a/sandbox/WinUI3App1/Assets/Square44x44Logo.scale-200.png b/sandbox/WinUI3App1/Assets/Square44x44Logo.scale-200.png new file mode 100644 index 00000000..f713bba6 Binary files /dev/null and b/sandbox/WinUI3App1/Assets/Square44x44Logo.scale-200.png differ diff --git a/sandbox/WinUI3App1/Assets/Square44x44Logo.targetsize-24_altform-unplated.png b/sandbox/WinUI3App1/Assets/Square44x44Logo.targetsize-24_altform-unplated.png new file mode 100644 index 00000000..dc9f5bea Binary files /dev/null and b/sandbox/WinUI3App1/Assets/Square44x44Logo.targetsize-24_altform-unplated.png differ diff --git a/sandbox/WinUI3App1/Assets/StoreLogo.png b/sandbox/WinUI3App1/Assets/StoreLogo.png new file mode 100644 index 00000000..a4586f26 Binary files /dev/null and b/sandbox/WinUI3App1/Assets/StoreLogo.png differ diff --git a/sandbox/WinUI3App1/Assets/Wide310x150Logo.scale-200.png b/sandbox/WinUI3App1/Assets/Wide310x150Logo.scale-200.png new file mode 100644 index 00000000..8b4a5d0d Binary files /dev/null and b/sandbox/WinUI3App1/Assets/Wide310x150Logo.scale-200.png differ diff --git a/sandbox/WinUI3App1/MainWindow.xaml b/sandbox/WinUI3App1/MainWindow.xaml new file mode 100644 index 00000000..91660aa9 --- /dev/null +++ b/sandbox/WinUI3App1/MainWindow.xaml @@ -0,0 +1,14 @@ + + + + + + + diff --git a/sandbox/WinUI3App1/MainWindow.xaml.cs b/sandbox/WinUI3App1/MainWindow.xaml.cs new file mode 100644 index 00000000..29f816fb --- /dev/null +++ b/sandbox/WinUI3App1/MainWindow.xaml.cs @@ -0,0 +1,34 @@ +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 System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Runtime.InteropServices.WindowsRuntime; +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 WinUI3App1; +/// +/// An empty window that can be used on its own or navigated to within a Frame. +/// +public sealed partial class MainWindow : Window +{ + public MainWindow() + { + this.InitializeComponent(); + } + + private void myButton_Click(object sender, RoutedEventArgs e) + { + myButton.Content = "Clicked"; + } +} diff --git a/sandbox/WinUI3App1/Package.appxmanifest b/sandbox/WinUI3App1/Package.appxmanifest new file mode 100644 index 00000000..498d4ed8 --- /dev/null +++ b/sandbox/WinUI3App1/Package.appxmanifest @@ -0,0 +1,51 @@ + + + + + + + + + + WinUI3App1 + owner + Assets\StoreLogo.png + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sandbox/WinUI3App1/Properties/PublishProfiles/win10-arm64.pubxml b/sandbox/WinUI3App1/Properties/PublishProfiles/win10-arm64.pubxml new file mode 100644 index 00000000..a7fdd16b --- /dev/null +++ b/sandbox/WinUI3App1/Properties/PublishProfiles/win10-arm64.pubxml @@ -0,0 +1,20 @@ + + + + + FileSystem + ARM64 + win10-arm64 + bin\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\publish\ + true + False + False + True + + + \ No newline at end of file diff --git a/sandbox/WinUI3App1/Properties/PublishProfiles/win10-x64.pubxml b/sandbox/WinUI3App1/Properties/PublishProfiles/win10-x64.pubxml new file mode 100644 index 00000000..26ea7e55 --- /dev/null +++ b/sandbox/WinUI3App1/Properties/PublishProfiles/win10-x64.pubxml @@ -0,0 +1,20 @@ + + + + + FileSystem + x64 + win10-x64 + bin\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\publish\ + true + False + False + True + + + \ No newline at end of file diff --git a/sandbox/WinUI3App1/Properties/PublishProfiles/win10-x86.pubxml b/sandbox/WinUI3App1/Properties/PublishProfiles/win10-x86.pubxml new file mode 100644 index 00000000..34d14d4d --- /dev/null +++ b/sandbox/WinUI3App1/Properties/PublishProfiles/win10-x86.pubxml @@ -0,0 +1,20 @@ + + + + + FileSystem + x86 + win10-x86 + bin\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\publish\ + true + False + False + True + + + \ No newline at end of file diff --git a/sandbox/WinUI3App1/Properties/launchSettings.json b/sandbox/WinUI3App1/Properties/launchSettings.json new file mode 100644 index 00000000..25722ac8 --- /dev/null +++ b/sandbox/WinUI3App1/Properties/launchSettings.json @@ -0,0 +1,10 @@ +{ + "profiles": { + "WinUI3App1 (Package)": { + "commandName": "MsixPackage" + }, + "WinUI3App1 (Unpackaged)": { + "commandName": "Project" + } + } +} \ No newline at end of file diff --git a/sandbox/WinUI3App1/WinUI3App1.csproj b/sandbox/WinUI3App1/WinUI3App1.csproj new file mode 100644 index 00000000..21323d94 --- /dev/null +++ b/sandbox/WinUI3App1/WinUI3App1.csproj @@ -0,0 +1,48 @@ + + + WinExe + net6.0-windows10.0.19041.0 + 10.0.17763.0 + WinUI3App1 + app.manifest + x86;x64;ARM64 + win10-x86;win10-x64;win10-arm64 + win10-$(Platform).pubxml + true + true + + + + + + + + + + + + + + + + + + + + + + + + + + true + + diff --git a/sandbox/WinUI3App1/app.manifest b/sandbox/WinUI3App1/app.manifest new file mode 100644 index 00000000..d3e244ab --- /dev/null +++ b/sandbox/WinUI3App1/app.manifest @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + PerMonitorV2 + + + \ No newline at end of file diff --git a/src/R3.WinUI3/Class1.cs b/src/R3.WinUI3/Class1.cs new file mode 100644 index 00000000..555fb84a --- /dev/null +++ b/src/R3.WinUI3/Class1.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +// To learn more about WinUI, the WinUI project structure, +// and more about our project templates, see: http://aka.ms/winui-project-info. + +namespace R3.WinUI3; +public class Class1 +{ +} diff --git a/src/R3.WinUI3/R3.WinUI3.csproj b/src/R3.WinUI3/R3.WinUI3.csproj new file mode 100644 index 00000000..78cdef70 --- /dev/null +++ b/src/R3.WinUI3/R3.WinUI3.csproj @@ -0,0 +1,14 @@ + + + net6.0-windows10.0.19041.0 + 10.0.17763.0 + R3.WinUI3 + win10-x86;win10-x64;win10-arm64 + true + + + + + + +