comparison Demo/WinForms/Forms/ObjectViews/PersonView.cs @ 0:f990fcb411a9

Копия текущей версии из github
author cin
date Thu, 27 Mar 2014 21:46:09 +0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:f990fcb411a9
1 using System;
2
3 using BLToolkit.ComponentModel;
4
5 using BLToolkit.Demo.ObjectModel;
6
7 namespace BLToolkit.Demo.Forms.ObjectViews
8 {
9 public class PersonView : IObjectView
10 {
11 #region IObjectView Members
12
13 private Person _person;
14 object IObjectView.Object
15 {
16 get { return _person; }
17 set { _person = (Person)value; }
18 }
19
20 #endregion
21
22 public string FormTitle
23 {
24 get { return _person.ID > 0? _person.FullName: "New Person"; }
25 }
26 }
27 }