close #624
This commit is contained in:
1 parent
9c9819af12
commit
74eaafc056
2 files changed
+20
-3
No files matched your search
@@ -1,10 +1,28 @@
|
||||
namespace HandyControlDemo.Window
|
||||
using System;
|
||||
using System.Windows;
|
||||
using HandyControl.Controls;
|
||||
using HandyControlDemo.Data;
|
||||
|
||||
namespace HandyControlDemo.Window
|
||||
{
|
||||
public partial class DialogDemoWindow
|
||||
{
|
||||
public DialogDemoWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
var dialogToken = $"{MessageToken.DialogDemoWindow}+{DateTime.Now:yyyyMMddHHmmssfff}";
|
||||
DialogToken = dialogToken;
|
||||
Dialog.SetToken(this, dialogToken);
|
||||
}
|
||||
|
||||
public static readonly DependencyProperty DialogTokenProperty = DependencyProperty.Register(
|
||||
"DialogToken", typeof(string), typeof(DialogDemoWindow), new PropertyMetadata(default(string)));
|
||||
|
||||
public string DialogToken
|
||||
{
|
||||
get => (string) GetValue(DialogTokenProperty);
|
||||
set => SetValue(DialogTokenProperty, value);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user