WPF NotifyIcon 1.0.2

--------------------
FIX   DataContext was not properly updated on ContextMenus (and probably ToolTips, Popups, and Balloons) if the DC was previously null.

git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@110 9f600761-6f11-4665-b6dc-0185e9171623
This commit is contained in:
Philipp Sumi
2009-05-18 17:37:34 +00:00
parent aa4e7d00b3
commit d6fe6cbf76
6 changed files with 26 additions and 25 deletions

View File

@@ -31,7 +31,7 @@
FontStyle="Italic"
FontWeight="Bold"
TextWrapping="Wrap"><Run
Text="WPF NotifyIcon 1.0.1 - Samples" /></TextBlock>
Text="WPF NotifyIcon 1.0.2 - Samples" /></TextBlock>
<Button
HorizontalAlignment="Left"
Margin="10,133,0,0"
@@ -162,10 +162,10 @@
<LineBreak/>
<LineBreak/>
<LineBreak/>
<TextBlock FontWeight="Bold">
<Run FontWeight="Bold" Text="Love it or hate it? Please let me know and "/>
<TextBlock>
<Run Text="Love it or hate it? Please let me know and "/>
<Hyperlink NavigateUri="http://www.codeproject.com/KB/WPF/wpf_notifyicon.aspx">
<Run Text="rate the project"/>
<Run FontWeight="Bold" Text="rate the project"/>
</Hyperlink>
<Run Text=" - thanks!" />
</TextBlock>

View File

@@ -1,17 +1,5 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Diagnostics;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using Hardcodet.Wpf.TaskbarNotification;
using Samples.Tutorials;
using Samples.Tutorials.Balloons;
using Samples.Tutorials.Commands;
@@ -34,7 +22,6 @@ namespace Samples
}
/// <summary>
/// Sets <see cref="Window.WindowStartupLocation"/> and
/// <see cref="Window.Owner"/> properties of a dialog that
@@ -109,6 +96,5 @@ namespace Samples
Process.Start(e.Uri.ToString());
e.Handled = true;
}
}
}
}

View File

@@ -396,7 +396,7 @@
FontWeight="Bold"
FontSize="16"
HorizontalAlignment="Left"><Run
Text="WPF NotifyIcon 1.0.1" /></TextBlock>
Text="WPF NotifyIcon 1.0.2" /></TextBlock>
<TextBlock
Margin="12,57.62,15.5,0"
VerticalAlignment="Top"