예제 #1
0
        private void NotifyPointStyleTypeChanged(DotDensityStyle style)
        {
            var result = System.Windows.Forms.MessageBox.Show(GisEditor.LanguageManager.GetStringResource("ChangingPointTypeWillDeleteText"), GisEditor.LanguageManager.GetStringResource("MessageBoxWarningTitle"), System.Windows.Forms.MessageBoxButtons.YesNo, System.Windows.Forms.MessageBoxIcon.Asterisk);

            if (result == System.Windows.Forms.DialogResult.Yes)
            {
                style.CustomPointStyle = null;
            }
            else
            {
                SelectedPointStyleType = GetPointStyleType(style.CustomPointStyle);
            }
        }
예제 #2
0
        /// <summary>
        /// Sets the bubble shape style.
        /// </summary>
        /// <returns>The point style.</returns>
        /// <param name="pointStyle">Point style.</param>
        public BubbleDataBuilder SetPointStyle(PointStyleType pointStyle)
        {
            data.Datasets[index].PointStyle = pointStyle;

            return(this);
        }