private void OnShown(object sender, EventArgs e) { _productsBindingSource.DataSource = SqlOperations.Read(); ProductsListBox.DataSource = _productsBindingSource; propertyGrid1.SelectedObject = ProductsListBox.SelectedItem; }