Beispiel #1
0
        /// <summary>
        /// 字体颜色设置
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void labFColor_Click(object sender, EventArgs e)
        {
            ColorDialog dia  = new ColorDialog();
            MapLabel    tool = this.Parent as MapLabel;

            if (dia.ShowDialog() == DialogResult.OK)
            {
                tool.SetFontColor(dia.Color);
            }
        }
Beispiel #2
0
        /// <summary>
        /// 关闭标牌
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void labClose_Click(object sender, EventArgs e)
        {
            MapLabel tool = this.Parent as MapLabel;

            tool.DisposeLabel();
        }