Exemplo n.º 1
0
        private void breakSliderGraph1_SliderMoved(object sender, BreakSliderEventArgs e)
        {
            _ignoreRefresh           = true;
            cmbInterval.SelectedItem = IntervalMethod.Manual;
            _ignoreRefresh           = false;
            _symbolizer.EditorSettings.IntervalMethod = IntervalMethod.Manual;
            int index = _newScheme.Categories.IndexOf(e.Slider.Category as IColorCategory);

            if (index == -1)
            {
                return;
            }
            UpdateTable();
            dgvCategories.Rows[index].Selected = true;
        }
Exemplo n.º 2
0
 private void BreakSliderGraph1SliderSelected(object sender, BreakSliderEventArgs e)
 {
     int index = breakSliderGraph1.Breaks.IndexOf(e.Slider);
     dgvCategories.Rows[index].Selected = true;
 }
Exemplo n.º 3
0
 private void breakSliderGraph1_SliderMoved(object sender, BreakSliderEventArgs e)
 {
     _ignoreRefresh = true;
     cmbInterval.SelectedItem = "Manual";
     _ignoreRefresh = false;
     _symbolizer.EditorSettings.IntervalMethod = IntervalMethod.Manual;
     int index = _newScheme.Categories.IndexOf(e.Slider.Category as IColorCategory);
     if (index == -1) return;
     UpdateTable();
     dgvCategories.Rows[index].Selected = true;
 }
Exemplo n.º 4
0
        private void BreakSliderGraph1SliderSelected(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 = IntervalMethod.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;
 }