-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.axaml
27 lines (24 loc) · 1.04 KB
/
App.axaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<Application xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="KeepMeOnline.App"
xmlns:local="using:KeepMeOnline"
RequestedThemeVariant="Default">
<!-- "Default" ThemeVariant follows system theme variant. "Dark" or "Light" are other available options. -->
<Application.Styles>
<FluentTheme />
</Application.Styles>
<TrayIcon.Icons>
<TrayIcons>
<TrayIcon Icon="/Assets/parrot-logo.ico" ToolTipText="Keep Me Online">
<TrayIcon.Menu>
<NativeMenu>
<NativeMenuItem Header="About" Click="ShowAboutDialog">
</NativeMenuItem>
<NativeMenuItem Header="Exit" Click="CloseApplication">
</NativeMenuItem>
</NativeMenu>
</TrayIcon.Menu>
</TrayIcon>
</TrayIcons>
</TrayIcon.Icons>
</Application>