private void linkLabelTools_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            var form = new FormBasicFillTools();
            form.ForegroundColor = this.ForegroundColor;
            form.BackgroundColor= this.BackgroundColor;

            var results = form.ShowDialog();
            if (results == DialogResult.OK)
            {
                this.ForegroundColor = form.ForegroundColor;
                this.BackgroundColor = form.BackgroundColor;
            }

        }
예제 #2
0
        private void linkLabelTools_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            var form = new FormBasicFillTools();

            form.ForegroundColor = this.ForegroundColor;
            form.BackgroundColor = this.BackgroundColor;

            var results = form.ShowDialog();

            if (results == DialogResult.OK)
            {
                this.ForegroundColor = form.ForegroundColor;
                this.BackgroundColor = form.BackgroundColor;
            }
        }