示例#1
0
 /// <summary>
 /// Bind results of gateway.GetCategories() to the Product Category combo box at the top of the form.
 /// </summary>
 private void BindCategories()
 {
     CategoryComboBox.ItemsSource   = gateway.GetCategories();
     CategoryComboBox.SelectedIndex = 0;
 }