private void LoadPerson(int id) { Person person = PeopleDB.GetPeople(id); txtName.Text = person.Name; txtAge.Text = person.Age.ToString(); }
private void RefreshGrid() { dataGridView1.DataSource = PeopleDB.GetPeople(); }
private void LoadPerson(int id) { Person person = PeopleDB.GetPeople(id); txtName.Text = person.Name; txtAge.Text = person.Age.ToString(); }
private void RefreshGrid() { dataGridView1.DataSource = PeopleDB.GetPeople(); }