Esempio n. 1
0
 private void _InitSchemaComboBox(UpdateThread.FetchSchemataEventArgs e)
 {
     if (e.Succeeded)
     {
         schemacombobox.DataSource            = e.DbInstances;
         schemacombobox.ValueMember           = UpdateThread._ColName_AccessId;
         schemacombobox.DisplayMember         = UpdateThread._ColName_Display;
         schemacombobox.SelectedValueChanged += new EventHandler(schemacombobox_SelectedValueChanged);
         _setSelected();
     }
     else
     {
         MessageBox.Show(e.Message);
     }
 }
Esempio n. 2
0
 void _UpdateThread_OnFetchSchemata(UpdateThread.FetchSchemataEventArgs e)
 {
     schemacombobox.BeginInvoke(new InitSchemaComboBoxHandler(_InitSchemaComboBox), new object[] { e });
 }