mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-24 15:16:40 +00:00
26 lines
560 B
C#
26 lines
560 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Configuration;
|
|
using System.Data;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
using System.Windows;
|
|
using Hardcodet.Wpf.TaskbarNotification;
|
|
|
|
namespace WinUI
|
|
{
|
|
/// <summary>
|
|
/// Interaction logic for App.xaml
|
|
/// </summary>
|
|
public partial class App : Application
|
|
{
|
|
private TaskbarIcon tb;
|
|
|
|
private void InitApplication()
|
|
{
|
|
tb = (TaskbarIcon)FindResource("NotifyIcon");
|
|
tb.Visibility = Visibility.Visible;
|
|
}
|
|
}
|
|
}
|