Exemplo n.º 1
0
 public AddLawForm(Law Law)
     : this()
 {
     this.set_Text("Изменение закона");
     this.law = Law;
     this.tbxLaw.set_Text(this.law.Name);
     this.dbxBegin.Value = this.law.FromDate;
 }
Exemplo n.º 2
0
 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;
 }