private void breakSliderGraph1_SliderMoved(object sender, BreakSliderEventArgs e)
 {
     _ignoreRefresh = true;
     cmbInterval.SelectedItem = "Manual";
     _ignoreRefresh = false;
     _symbolizer.EditorSettings.IntervalMethod = IntervalMethods.Manual;
     int index = _newScheme.Categories.IndexOf(e.Slider.Category as IColorCategory);
     if (index == -1) return;
     UpdateTable();
     dgvCategories.Rows[index].Selected = true;
     
 }
 void breakSliderGraph1_SliderSelected(object sender, BreakSliderEventArgs e)
 {
     int index = breakSliderGraph1.Breaks.IndexOf(e.Slider);
     dgvCategories.Rows[index].Selected = true;
 }
 private void breakSliderGraph1_SliderMoved(object sender, BreakSliderEventArgs e)
 {
     _ignoreRefresh = true;
     cmbInterval.SelectedItem = "Manual";
     _ignoreRefresh = false;
     _newScheme.EditorSettings.IntervalMethod = IntervalMethods.Manual;
     List<IFeatureCategory> cats = _newScheme.GetCategories().ToList();
     int index = cats.IndexOf(e.Slider.Category as IFeatureCategory);
     if (index == -1) return;
     UpdateTable(null);
     dgvCategories.Rows[index].Selected = true;
     
 }