Example #1
0
 void refreshCategoriesGrid()
 {
     bs = ClientCommands.refreshCategories(nameField);
     dataGridView1.DataSource = bs.DataSource;
 }
Example #2
0
 public void refreshCategories()
 {
     bs3 = ClientCommands.refreshCategories(nameField);
     comboBox1.DataSource    = comboBox2.DataSource = bs3.DataSource;
     comboBox1.DisplayMember = comboBox2.DisplayMember = nameField;
 }