1
0
mirror of https://gitee.com/csharpui/CPF.git synced 2025-04-05 17:37:51 +08:00
CPF/CPF.Toolkit.Demo/MainViewModel.cs

28 lines
574 B
C#
Raw Normal View History

2024-01-25 22:35:00 +08:00
using CPF.Controls;
using System;
using System.Collections.Generic;
using System.Text;
namespace CPF.Toolkit.Demo
{
internal class MainViewModel : ViewModelBase
{
protected override void OnLoaded()
{
}
public void Test()
{
2024-01-25 23:31:09 +08:00
this.Dialog.Alert("确定删除所选的文件吗?", "确定删除", DialogType.Warn, "", "取消", "删除");
2024-01-25 22:35:00 +08:00
}
//protected override void OnClosing(ClosingEventArgs e)
//{
// e.Cancel = true;
// base.OnClosing(e);
//}
}
}