WPF NotifyIcon

--------------
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
This commit is contained in:
Philipp Sumi
2009-05-15 09:51:55 +00:00
parent af046cf7bf
commit 97ef369a02
47 changed files with 1405 additions and 107 deletions

View File

@@ -62,16 +62,16 @@
<Resource Include="Icons\Inactive.ico" />
<Resource Include="Icons\Error.ico" />
<Resource Include="Images\Info.png" />
<Resource Include="Images\preferences.png" />
<Page Include="FancyToolTip.xaml">
<Resource Include="Images\Preferences.png" />
<Page Include="Showcase\FancyToolTip.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="TaskbarIconResources.xaml">
<Page Include="Showcase\NotifyIconResources.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Compile Include="FancyToolTip.xaml.cs">
<Compile Include="Showcase\FancyToolTip.xaml.cs">
<DependentUpon>FancyToolTip.xaml</DependentUpon>
</Compile>
</ItemGroup>
@@ -80,15 +80,27 @@
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</ApplicationDefinition>
<Page Include="FancyBalloon.xaml">
<Page Include="Showcase\FancyBalloon.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="FancyPopup.xaml">
<Page Include="Showcase\FancyPopup.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Tutorials\01 - Declaration\Window1.xaml">
<Page Include="Main.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Tutorials\02 - ToolTips\UserControlToolTipWindow.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Tutorials\01 - Declaration\NotifyIconResourceDictionary.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Tutorials\01 - Declaration\SimpleWindowWithNotifyIcon.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
@@ -96,11 +108,39 @@
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="WelcomeBalloon.xaml">
<Page Include="Tutorials\02 - ToolTips\InlineToolTipWindow.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Window1.xaml">
<Page Include="Tutorials\03 - Popups\InlinePopupWindow.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Tutorials\04 - ContextMenus\InlineContextMenuWindow.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Tutorials\06 - Commands\CommandWindow.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Tutorials\07 - Events\EventVisualizerWindow.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Tutorials\05 - Balloons\BalloonSampleWindow.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Tutorials\08 - DataBinding\DataBoundToolTipWindow.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Showcase\WelcomeBalloon.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Showcase\ShowcaseWindow.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
@@ -108,21 +148,24 @@
<SubType>Code</SubType>
<DependentUpon>App.xaml</DependentUpon>
</Compile>
<Compile Include="Window1.xaml.cs">
<Compile Include="Showcase\ShowcaseWindow.xaml.cs">
<SubType>Code</SubType>
<DependentUpon>Window1.xaml</DependentUpon>
<DependentUpon>ShowcaseWindow.xaml</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<Compile Include="Commands\CommandBase.cs" />
<Compile Include="Commands\HideMainWindowCommand.cs" />
<Compile Include="Commands\ShowMainWindowCommand.cs" />
<Compile Include="FancyBalloon.xaml.cs">
<Compile Include="Showcase\FancyBalloon.xaml.cs">
<DependentUpon>FancyBalloon.xaml</DependentUpon>
</Compile>
<Compile Include="FancyPopup.xaml.cs">
<Compile Include="Showcase\FancyPopup.xaml.cs">
<DependentUpon>FancyPopup.xaml</DependentUpon>
</Compile>
<Compile Include="Main.xaml.cs">
<DependentUpon>Main.xaml</DependentUpon>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs">
<SubType>Code</SubType>
</Compile>
@@ -136,13 +179,38 @@
<DesignTimeSharedInput>True</DesignTimeSharedInput>
<DependentUpon>Settings.settings</DependentUpon>
</Compile>
<Compile Include="Tutorials\01 - Declaration\Window1.xaml.cs">
<DependentUpon>Window1.xaml</DependentUpon>
<Compile Include="Tutorials\01 - Declaration\SimpleWindowWithNotifyIcon.xaml.cs">
<DependentUpon>SimpleWindowWithNotifyIcon.xaml</DependentUpon>
</Compile>
<Compile Include="Tutorials\02 - ToolTips\SimpleUserControl.xaml.cs">
<DependentUpon>SimpleUserControl.xaml</DependentUpon>
</Compile>
<Compile Include="WelcomeBalloon.xaml.cs">
<Compile Include="Tutorials\02 - ToolTips\InlineToolTipWindow.xaml.cs">
<DependentUpon>InlineToolTipWindow.xaml</DependentUpon>
</Compile>
<Compile Include="Tutorials\02 - ToolTips\UserControlToolTipWindow.xaml.cs">
<DependentUpon>UserControlToolTipWindow.xaml</DependentUpon>
</Compile>
<Compile Include="Tutorials\03 - Popups\InlinePopupWindow.xaml.cs">
<DependentUpon>InlinePopupWindow.xaml</DependentUpon>
</Compile>
<Compile Include="Tutorials\04 - ContextMenus\InlineContextMenuWindow.xaml.cs">
<DependentUpon>InlineContextMenuWindow.xaml</DependentUpon>
</Compile>
<Compile Include="Tutorials\06 - Commands\CommandWindow.xaml.cs">
<DependentUpon>CommandWindow.xaml</DependentUpon>
</Compile>
<Compile Include="Tutorials\06 - Commands\ShowMessageCommand.cs" />
<Compile Include="Tutorials\07 - Events\EventVisualizerWindow.xaml.cs">
<DependentUpon>EventVisualizerWindow.xaml</DependentUpon>
</Compile>
<Compile Include="Tutorials\05 - Balloons\BalloonSampleWindow.xaml.cs">
<DependentUpon>BalloonSampleWindow.xaml</DependentUpon>
</Compile>
<Compile Include="Tutorials\08 - DataBinding\DataBoundToolTipWindow.xaml.cs">
<DependentUpon>DataBoundToolTipWindow.xaml</DependentUpon>
</Compile>
<Compile Include="Showcase\WelcomeBalloon.xaml.cs">
<DependentUpon>WelcomeBalloon.xaml</DependentUpon>
</Compile>
<EmbeddedResource Include="Properties\Resources.resx">