improved dialog

This commit is contained in:
NaBian committed 2019-04-24 23:53:36 +08:00
1 parent 76a886c331
commit 745909f485
16 files changed
+219 -11

No files matched your search

@@ -1,4 +1,5 @@
using System;
using System.Windows;
#if netle40
using GalaSoft.MvvmLight.Command;
#else
@@ -65,6 +66,9 @@ namespace HandyControlDemo.ViewModel
new RelayCommand(() => Growl.Clear())).Value;
public RelayCommand NewWindowCmd => new Lazy<RelayCommand>(() =>
new RelayCommand(() => new GrowlDemoWindow().Show())).Value;
new RelayCommand(() => new GrowlDemoWindow
{
Owner = Application.Current.MainWindow
}.Show())).Value;
}
}