mirror of
https://gitee.com/csharpui/CPF.git
synced 2025-12-21 19:10:04 +08:00
behavior
This commit is contained in:
27
CPF.Toolkit.Demo/MainViewModel.cs
Normal file
27
CPF.Toolkit.Demo/MainViewModel.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
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()
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
|
||||
//protected override void OnClosing(ClosingEventArgs e)
|
||||
//{
|
||||
// e.Cancel = true;
|
||||
// base.OnClosing(e);
|
||||
//}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user