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; } }
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; } }