mirror of
https://gitee.com/csharpui/CPF.git
synced 2025-04-05 17:37:51 +08:00
28 lines
475 B
C#
28 lines
475 B
C#
![]() |
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);
|
|||
|
//}
|
|||
|
}
|
|||
|
}
|