mirror of
https://github.com/ckaczor/wpf-notifyicon.git
synced 2026-01-15 09:45:36 -05:00
-------------- FIX Removed debug output in WindowMessageSink. CHG Major rework on sample project. git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@104 9f600761-6f11-4665-b6dc-0185e9171623
55 lines
1.5 KiB
XML
55 lines
1.5 KiB
XML
<Window
|
|
x:Class="Samples.Tutorials.Balloons.BalloonSampleWindow"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:tb="http://www.hardcodet.net/taskbar"
|
|
Height="300"
|
|
Width="300">
|
|
<Grid>
|
|
|
|
<!-- the ToolTipText property is bound to the TextBox below -->
|
|
<tb:TaskbarIcon
|
|
x:Name="MyNotifyIcon"
|
|
IconSource="/Icons/Error.ico"
|
|
ToolTipText="Balloon Sample Icon" />
|
|
<Button
|
|
x:Name="btnShowStandardBalloon"
|
|
Click="btnShowStandardBalloon_Click"
|
|
Margin="26,74,29,0"
|
|
Content="Show Standard Balloon" Height="29" VerticalAlignment="Top"
|
|
/>
|
|
<Button
|
|
x:Name="btnShowCustomBalloon"
|
|
Click="btnShowCustomBalloon_Click"
|
|
Margin="26,0,29,49"
|
|
VerticalAlignment="Bottom"
|
|
Height="27"
|
|
Content="Show Custom Balloon"
|
|
/>
|
|
<TextBlock
|
|
Margin="26,26,24,0"
|
|
VerticalAlignment="Top"
|
|
FontWeight="Bold"
|
|
TextWrapping="Wrap"><Run
|
|
Language="de-ch"
|
|
Text="Clicking on buttons shows balloon tips" /></TextBlock>
|
|
<Button
|
|
x:Name="btnHideStandardBalloon"
|
|
Click="btnHideStandardBalloon_Click"
|
|
Margin="26,113,29,122"
|
|
Content="Hide Standard Balloon"
|
|
/>
|
|
<Button
|
|
x:Name="btnCloseCustomBalloon"
|
|
Click="btnCloseCustomBalloon_Click"
|
|
Margin="26,0,29,12"
|
|
VerticalAlignment="Bottom"
|
|
Height="27"
|
|
Content="Close Custom Balloon"
|
|
/>
|
|
|
|
|
|
|
|
</Grid>
|
|
</Window>
|