public TeamForm(int id) { PrepareForm(); team = session.Load<Team>(id); name1TextBox.Text = team.Name1; name2TextBox.Text = team.Name2; }
public TeamForm() { PrepareForm(); team = new Team(); }