void ModifyButton_Click (object sender, EventArgs e) { _propertyGrid.PropertySort = (PropertySort) _sortListBox.SelectedValue; }