mirror of
https://github.com/ckaczor/wpf-notifyicon.git
synced 2026-01-17 01:35:40 -05:00
CHG Reformatting code (NTFY-20).
git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@192 9f600761-6f11-4665-b6dc-0185e9171623
This commit is contained in:
@@ -46,8 +46,10 @@
|
||||
<TextBlock Margin="26,26,24,0"
|
||||
VerticalAlignment="Top"
|
||||
FontWeight="Bold"
|
||||
TextWrapping="Wrap"><Run Language="de-ch"
|
||||
Text="Right-click on NotifyIcon to open Context Menu" /></TextBlock>
|
||||
TextWrapping="Wrap">
|
||||
<Run Language="de-ch"
|
||||
Text="Right-click on NotifyIcon to open Context Menu" />
|
||||
</TextBlock>
|
||||
<TextBlock HorizontalAlignment="Left"
|
||||
Margin="26,83,0,0"
|
||||
TextWrapping="Wrap"
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace Samples.Tutorials.ContextMenus
|
||||
private void MyNotifyIcon_PreviewTrayContextMenuOpen(object sender, System.Windows.RoutedEventArgs e)
|
||||
{
|
||||
//marking the event as handled suppresses the context menu
|
||||
e.Handled = (bool)SuppressContextMenu.IsChecked;
|
||||
e.Handled = (bool) SuppressContextMenu.IsChecked;
|
||||
|
||||
PreviewOpenEventCounter.Text = (int.Parse(PreviewOpenEventCounter.Text) + 1).ToString();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user