Example #1
0
 private void acomboBox_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (acomboBox.SelectedIndex != -1)
     {
         source = slist.AuthSources(alist[acomboBox.SelectedIndex]);
         sbindingSource.DataSource = source;
         scomboBox.SelectedIndex   = -1;
     }
 }
Example #2
0
 private void acomboBox_SelectedIndexChanged(object sender, EventArgs e) // Выбирает источники соответствующе выбранному автору.
 {
     if (acomboBox.SelectedIndex != -1)
     {
         source = slist.AuthSources(alist[acomboBox.SelectedIndex]);
         sbindingSource.DataSource = source;
         scomboBox.SelectedIndex   = -1;
     }
 }