如何设置任务栏通知程序启动位置。因为它在某些系统上运行正常,但在某些系统上,它会低于任务栏或消失。
代码:
<tn:TaskbarNotifier x:Class="LeadAlert.Main"
xmlns:tn="clr-namespace:WPFTaskbarNotifier;assembly=WPFTaskbarNotifier"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Lead Alert" Height="240" Width="370" WindowStyle="None" Topmost="True" ResizeMode="NoResize" Background="Transparent"
AllowsTransparency="True" ShowInTaskbar="False" MouseMove="WinMain_MouseMove"
x:Name="WinMain" Icon="/LeadAlert;component/LeadAlert.ico" Closed="WinMain_Closed" WindowStartupLocation="CenterScreen" >