26 lines
1.0 KiB
Plaintext
26 lines
1.0 KiB
Plaintext
|
<Window x:Class="WifiSitterGui.TrayIconControl"
|
||
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||
|
xmlns:local="clr-namespace:WifiSitterGui"
|
||
|
xmlns:tb="http://www.hardcodet.net/taskbar"
|
||
|
Visibility="Hidden"
|
||
|
mc:Ignorable="d"
|
||
|
Title="TrayIconControl" Height="300" Width="300">
|
||
|
<Grid>
|
||
|
|
||
|
<tb:TaskbarIcon
|
||
|
IconSource="pack://application:,,,/wifisitter-icon.ico"
|
||
|
ToolTipText="hello world" >
|
||
|
<tb:TaskbarIcon.ContextMenu>
|
||
|
<ContextMenu>
|
||
|
<MenuItem Header="Pause for 5 minutes"
|
||
|
ToolTip="Restores interfaces to original status."/>
|
||
|
</ContextMenu>
|
||
|
</tb:TaskbarIcon.ContextMenu>
|
||
|
</tb:TaskbarIcon>
|
||
|
|
||
|
</Grid>
|
||
|
</Window>
|