Restructed project

This commit is contained in:
Daniel Clark
2021-02-09 12:36:55 +00:00
parent e10baed2d7
commit 085e632eb9
28 changed files with 47 additions and 535 deletions
+4
View File
@@ -0,0 +1,4 @@
<Application
x:Class="NotificationFlyout.Sample.Wpf.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" />
+17
View File
@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace NotificationFlyout.Sample.Wpf
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

@@ -0,0 +1,34 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<UseWPF>true</UseWPF>
<AssetTargetFallback>uap10.0.19041</AssetTargetFallback>
<StartupObject>NotificationFlyout.Sample.Wpf.Program</StartupObject>
<LangVersion>9.0</LangVersion>
<Platforms>AnyCPU;x64</Platforms>
</PropertyGroup>
<ItemGroup>
<None Remove="Assets\Icon-Light.ico" />
<None Remove="Assets\Icon.ico" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Toolkit.Wpf.UI.XamlHost" Version="6.1.2" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\NotificationFlyout.Sample.Uwp\NotificationFlyout.Sample.Uwp.csproj" />
<ProjectReference Include="..\NotificationFlyout.Uwp.UI.Controls\NotificationFlyout.Uwp.UI.Controls.csproj" />
<ProjectReference Include="..\NotificationFlyout.Wpf.UI.Controls\NotificationFlyout.Wpf.UI.Controls.csproj" />
<ProjectReference Include="..\NotificationFlyout.XamlHost\NotificationFlyout.XamlHost.csproj" />
</ItemGroup>
<ItemGroup>
<Resource Include="Assets\Icon-Light.ico" />
<Resource Include="Assets\Icon.ico" />
</ItemGroup>
</Project>
+18
View File
@@ -0,0 +1,18 @@
using System;
namespace NotificationFlyout.Sample.Wpf
{
public class Program
{
[STAThread()]
public static void Main()
{
using (new XamlHost.App())
{
var app = new App();
new SampleNotificationFlyout();
app.Run();
}
}
}
}
@@ -0,0 +1,9 @@
<NotificationFlyout
x:Class="NotificationFlyout.Sample.Wpf.SampleNotificationFlyout"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:sample="clr-namespace:NotificationFlyout.Sample.Uwp;assembly=NotificationFlyout.Sample.Uwp"
IconSource="/Assets/Icon.ico"
LightIconSource="/Assets/Icon-Light.ico">
<sample:NotificationFlyoutPresenter />
</NotificationFlyout>
@@ -0,0 +1,10 @@
namespace NotificationFlyout.Sample.Wpf
{
public partial class SampleNotificationFlyout
{
public SampleNotificationFlyout()
{
InitializeComponent();
}
}
}