diff --git a/FloatingStatusWindowLibrary/FloatingStatusWindow.cs b/FloatingStatusWindowLibrary/FloatingStatusWindow.cs index c3431df..ed9abc3 100644 --- a/FloatingStatusWindowLibrary/FloatingStatusWindow.cs +++ b/FloatingStatusWindowLibrary/FloatingStatusWindow.cs @@ -1,5 +1,4 @@ -using Common.Native; -using FloatingStatusWindowLibrary.Properties; +using FloatingStatusWindowLibrary.Properties; using Hardcodet.Wpf.TaskbarNotification; using System; using System.Windows; diff --git a/FloatingStatusWindowLibrary/MainWindow.xaml b/FloatingStatusWindowLibrary/MainWindow.xaml index a88e345..f84c55c 100644 --- a/FloatingStatusWindowLibrary/MainWindow.xaml +++ b/FloatingStatusWindowLibrary/MainWindow.xaml @@ -1,21 +1,52 @@  + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:htmlLabelControl="clr-namespace:Common.Wpf.HtmlLabelControl;assembly=Common.Wpf" + xmlns:windows="clr-namespace:Common.Wpf.Windows;assembly=Common.Wpf" + windows:ControlBox.HasMaximizeButton="False" + windows:ControlBox.HasMinimizeButton="False" + windows:ControlBox.HasSystemMenu="False" + Title="FloatingStatusWindow" + Height="250" + Width="400" + WindowStyle="None" + AllowsTransparency="True" + ResizeMode="CanResize" + Background="Transparent" + ShowInTaskbar="False" + x:ClassModifier="internal"> - + - + - - + diff --git a/FloatingStatusWindowLibrary/MainWindow.xaml.cs b/FloatingStatusWindowLibrary/MainWindow.xaml.cs index 53921ae..d30db50 100644 --- a/FloatingStatusWindowLibrary/MainWindow.xaml.cs +++ b/FloatingStatusWindowLibrary/MainWindow.xaml.cs @@ -122,5 +122,11 @@ namespace FloatingStatusWindowLibrary return WindowManager.GetWindowList(windowHandle); } } + + private void HandleChangeAppearanceClick(object sender, RoutedEventArgs e) + { + var appearanceWindow = new AppearanceWindow(WindowSettings); + appearanceWindow.ShowDialog(); + } } }