comparison Demo/WinForms/Forms/EditPersonForm.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.Demo.ObjectModel;
4
5 namespace BLToolkit.Demo.Forms
6 {
7 public partial class EditPersonForm : EditPersonFormBase
8 {
9 public EditPersonForm()
10 {
11 InitializeComponent();
12 }
13
14 protected override void SetBizEntity(Person person)
15 {
16 personBinder.Object = person;
17 }
18 }
19
20 // This additional inheritance is required to avoid a WinForms bug,
21 // which does not allow using generic classes as base classes for forms and uer controls.
22 //
23 public class EditPersonFormBase : BizEntityForm<EditPersonForm, Person> {}
24 }