CHG Migrated WinForms sample to .NET 4.

git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@188 9f600761-6f11-4665-b6dc-0185e9171623
This commit is contained in:
Philipp Sumi
2013-11-17 23:51:06 +00:00
parent 19f4f8717c
commit 0424c62f17
7 changed files with 71 additions and 42 deletions

View File

@@ -1,10 +1,4 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Forms;
using Hardcodet.Wpf.TaskbarNotification;
@@ -37,7 +31,8 @@ namespace WindowsFormsSample
{
base.OnClosed(e);
//close the notify icon
//the notify icon only closes automatically on WPF applications
//-> dispose the notify icon manually
notifyIcon.Dispose();
}
}