This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
zhangyang-libzt/zto/windows/WinUI/App.xaml.cs

26 lines
560 B
C#
Raw Normal View History

2016-07-25 18:07:43 -07:00
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
2017-03-07 11:08:02 -08:00
using Hardcodet.Wpf.TaskbarNotification;
2016-07-25 18:07:43 -07:00
namespace WinUI
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
2017-03-07 11:08:02 -08:00
private TaskbarIcon tb;
private void InitApplication()
{
tb = (TaskbarIcon)FindResource("NotifyIcon");
tb.Visibility = Visibility.Visible;
}
2016-07-25 18:07:43 -07:00
}
}