Ejemplo n.º 1
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;
        }
Ejemplo n.º 2
0
        private void BreakSliderGraph1SliderSelected(object sender, BreakSliderEventArgs e)
        {
            int index = breakSliderGraph1.Breaks.IndexOf(e.Slider);

            dgvCategories.Rows[index].Selected = true;
        }