Beispiel #1
0
        /// <summary>
        /// Shows the 'Symbol Details' dialog
        /// </summary>
        private void ShowDetailsDialog()
        {
            DetailedLineSymbolDialog detailsDialog = new DetailedLineSymbolDialog(_original);

            detailsDialog.ChangesApplied += detailsDialog_ChangesApplied;
            detailsDialog.ShowDialog();
        }
Beispiel #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);
            }
        }