Ejemplo n.º 1
0
        private void btnEdit_Click(object sender, EventArgs e)
        {
            ILineDecoration dec = ccDecorations.SelectedDecoration;

            if (dec == null)
            {
                return;
            }
            DetailedPointSymbolDialog dpd = new DetailedPointSymbolDialog(dec.Symbol);

            dpd.ChangesApplied += dpd_ChangesApplied;
            dpd.ShowDialog();
        }
Ejemplo n.º 2
0
        private void btnEdit_Click(object sender, EventArgs e)
        {
            if (_sizeRange == null)
            {
                return;
            }
            IPointSymbolizer ps = _sizeRange.Symbolizer as IPointSymbolizer;

            if (ps != null)
            {
                _pointDialog.Symbolizer = _sizeRange.Symbolizer as IPointSymbolizer;
                _pointDialog.ShowDialog(this);
            }
            ILineSymbolizer ls = _sizeRange.Symbolizer as ILineSymbolizer;

            if (ls != null)
            {
                _lineDialog.Symbolizer = _sizeRange.Symbolizer as ILineSymbolizer;
                _lineDialog.ShowDialog(this);
            }
        }