private void buttonAAFontColor_Click(object sender, EventArgs e) { FormEditFontColors form = new FormEditFontColors(); form.Colors = aAFontColors; if (form.ShowDialog() == DialogResult.OK) { aAFontColors = form.Colors; } }
private void buttonFontColor_Click(object sender, EventArgs e) { FormEditFontColors form = new FormEditFontColors(); form.Colors = fontColors; if (form.ShowDialog() == DialogResult.OK) { fontColors = form.Colors; panelPreview.Refresh(); } }