xaml-sdk/PropertyGrid/FlagEnumEditor/MainWindow.xaml.cs

28 строки
688 B
C#
Исходник Обычный вид История

2014-08-07 18:42:12 +04:00
using System;
using System.Linq;
using System.Windows;
using FlagEnumEditor;
namespace WpfApplication1
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
PropertyGrid1.Item = new Employee()
{
FirstName = "Sarah",
LastName = "Blake",
Occupation = "Supplied Manager",
StartingDate = new DateTime(2005, 04, 12),
IsMarried = true,
Salary = 3500
};
}
}
}