public override void New() { frmPerson form = new frmPerson(); form.ShowDialog(this); Init(); }
public override void Edit() { if (this.CurrentId != 0) { Person person = Databases.Tables.Persons[this.CurrentId]; frmPerson form = new frmPerson(person); form.ShowDialog(this); Init(); } }