public CloudNotification() { InitializeComponent(); cloudnotification = this; var desktopWorkingArea = System.Windows.SystemParameters.WorkArea; Point point = Position.GetMousePosition(); this.Top = point.Y - 205; this.Left = point.X + 5; }
public async void CloudNotificationClipboardAlert() { MouseHook.Start(); CloudNotification cn = new CloudNotification(); cn.Topmost = true; cn.ShowInTaskbar = false; await Task.Delay(20); cn.Show(); await Task.Delay(2200); cn.Close(); MouseHook.stop(); }