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