privatevoidbutton1_Click(objectsender,EventArgse){//显示颜色选择器colorDialog1.ShowDialog();//把取到的颜色赋值给panelpanel1.BackColor=colorDialog1.Color;}FontDialog:字体样式选择控件privatevoidbutton3_Click(objectsender,EventArgse){//显示字体样式选择器fontDialog1.ShowDialog()...
查看全文