public void SetUpCameraFunctionSet(string name) { if (name.Equals("")) { currentUpBinding = new BindingList <AForgeFunction>(); return; } var s = upSet.GetSet(name); if (s != null) { currentUpBinding = s; } }
private void FilterSetSelectorComboBox_SelectedIndexChanged(object sender, EventArgs e) { var cb = (ComboBox)sender; var list = sets.GetSet(cb.SelectedText); if (list != null) { // make a local copy here currentBinding = AForgeFunction.Clone(list); } }
private void UpCamea_FilterSet_SelectedIndexChanged(object sender, EventArgs e) { var cb = (ComboBox)sender; var list = upSet.GetSet(cb.SelectedItem.ToString()); if (list != null) { currentUpBinding = list; //local copy; uFilter_dataGridView.DataSource = currentUpBinding; upVideoProcessing.SetFunctionsList(currentUpBinding); } }