Growl multi-window support

This commit is contained in:
NaBian committed 2019-03-24 16:54:42 +08:00
1 parent 7c331c1e60
commit 0cdb6d7543
14 files changed
+160 -36

No files matched your search

+18 -1
View File
@@ -1,4 +1,7 @@
namespace HandyControlDemo
using System;
using HandyControl.Controls;
namespace HandyControlDemo
{
public partial class MainWindow
{
@@ -6,5 +9,19 @@
{
InitializeComponent();
}
protected override void OnActivated(EventArgs e)
{
base.OnActivated(e);
Growl.SetGrowlParent(GrowlPanel, true);
}
protected override void OnDeactivated(EventArgs e)
{
base.OnDeactivated(e);
Growl.SetGrowlParent(GrowlPanel, false);
}
}
}