mirror of https://github.com/AMT-Cheif/Stylet.git
24 lines
441 B
C#
24 lines
441 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Stylet.Samples.HelloDialog
|
|
{
|
|
public class Dialog1ViewModel : Screen
|
|
{
|
|
public string Name { get; set; }
|
|
|
|
public Dialog1ViewModel()
|
|
{
|
|
this.DisplayName = "I'm Dialog 1";
|
|
}
|
|
|
|
public void Close()
|
|
{
|
|
this.TryClose(true);
|
|
}
|
|
}
|
|
}
|