private void button2_Click(object sender, EventArgs e) { Hund h = (Hund)propertyGrid1.SelectedObject; }