mirror of
https://github.com/ckaczor/wpf-notifyicon.git
synced 2026-02-16 18:49:54 -05:00
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:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user