(1)colorDialog的使用
if (this.colorDialog1.ShowDialog() == DialogResult.OK)
{
this.parentNumberColor = colorDialog1.Color;
}
(2)fontDialog的使用
if (this.fontDialog1.ShowDialog() == DialogResult.OK)
{
this.parentNumberFont = fontDialog1.Font;
}
(3)openFileDialog的使用
if (this.openFileDialog1.ShowDialog() == DialogResult.OK)
{
this.parent.ParentBackgroundImage = Image.FromFile(this.openFileDialog1.FileName);
}