2015-10-20 03:20:42 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Configuration;
|
|
|
|
|
using System.Data;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using System.Windows;
|
2016-11-08 22:54:55 +00:00
|
|
|
|
using Hardcodet.Wpf.TaskbarNotification;
|
2015-10-20 03:20:42 +00:00
|
|
|
|
|
|
|
|
|
namespace WinUI
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Interaction logic for App.xaml
|
|
|
|
|
/// </summary>
|
|
|
|
|
public partial class App : Application
|
|
|
|
|
{
|
2016-11-08 22:54:55 +00:00
|
|
|
|
private TaskbarIcon tb;
|
|
|
|
|
|
|
|
|
|
private void InitApplication()
|
|
|
|
|
{
|
|
|
|
|
tb = (TaskbarIcon)FindResource("NotifyIcon");
|
|
|
|
|
tb.Visibility = Visibility.Visible;
|
|
|
|
|
}
|
2015-10-20 03:20:42 +00:00
|
|
|
|
}
|
|
|
|
|
}
|