public AddLawForm(Law Law) : this() { this.set_Text("Изменение закона"); this.law = Law; this.tbxLaw.set_Text(this.law.Name); this.dbxBegin.Value = this.law.FromDate; }
public AddLawForm(Budget Budget) : this() { this.set_Text("Добавление закона"); this.budget = Budget; this.law = new Law(); this.law.Id = -1L; this.law.BudgetId = this.budget.Id; }