diff --git a/NotificationAgent/NotificationAgent.csproj b/NotificationAgent/NotificationAgent.csproj
index 8dd8f49..f255a3d 100644
--- a/NotificationAgent/NotificationAgent.csproj
+++ b/NotificationAgent/NotificationAgent.csproj
@@ -57,12 +57,12 @@
-
-
+
+
Form
-
- NotificationPopup.cs
+
+ StandardPopup.cs
ResXFileCodeGenerator
@@ -73,8 +73,8 @@
True
Resources.resx
-
- NotificationPopup.cs
+
+ StandardPopup.cs
SettingsSingleFileGenerator
@@ -90,8 +90,8 @@
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/WindowsFormsTestUI/WindowsFormsTestUI.csproj b/WindowsFormsTestUI/WindowsFormsTestUI.csproj
index 4018fa0..f4e0f7e 100644
--- a/WindowsFormsTestUI/WindowsFormsTestUI.csproj
+++ b/WindowsFormsTestUI/WindowsFormsTestUI.csproj
@@ -54,6 +54,9 @@
+
+ Form1.cs
+
ResXFileCodeGenerator
Resources.Designer.cs
diff --git a/WpfTestUI/MainWindow.xaml b/WpfTestUI/MainWindow.xaml
index 28cee2c..6c137b5 100644
--- a/WpfTestUI/MainWindow.xaml
+++ b/WpfTestUI/MainWindow.xaml
@@ -7,6 +7,6 @@
mc:Ignorable="d"
Title="MainWindow" Height="350" Width="525">
-
+
diff --git a/WpfTestUI/MainWindow.xaml.cs b/WpfTestUI/MainWindow.xaml.cs
index 8450dff..64598d1 100644
--- a/WpfTestUI/MainWindow.xaml.cs
+++ b/WpfTestUI/MainWindow.xaml.cs
@@ -1,17 +1,7 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+using NotificationAgent;
+using NotificationAgent.UI.DisplayManagers;
+using NotificationAgent.UI.Forms;
using System.Windows;
-using System.Windows.Controls;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Input;
-using System.Windows.Media;
-using System.Windows.Media.Imaging;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
namespace WpfTestUI
{
@@ -23,6 +13,18 @@ public partial class MainWindow : Window
public MainWindow()
{
InitializeComponent();
+
+ var displayManager = new VerticalViewDisplayManager();
+ notificationCenter = new NotificationsCenter(displayManager);
+ }
+
+ private int notificationIndex = 0;
+ private NotificationsCenter notificationCenter;
+
+ private void displayNotificationButton_Click(object sender, RoutedEventArgs e)
+ {
+ notificationCenter.DisplayNotification($"Title {notificationIndex}", $"Description {notificationIndex}", null);
+ notificationIndex++;
}
}
}
diff --git a/WpfTestUI/WpfTestUI.csproj b/WpfTestUI/WpfTestUI.csproj
index e6464f4..20754bb 100644
--- a/WpfTestUI/WpfTestUI.csproj
+++ b/WpfTestUI/WpfTestUI.csproj
@@ -37,6 +37,8 @@
+
+