展开全部
现学现卖,这样32313133353236313431303231363533e58685e5aeb931333337393565可行?
button Click代码
private void button1_Click(object sender, EventArgs e)
{
if (button1.Font.Bold == false && button1.Font.Italic == false && button1.Font.Underline == false)
{
button1.Font = new System.Drawing.Font("宋体", 9f, ((System.Drawing.FontStyle)(((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic)
| System.Drawing.FontStyle.Underline))));
}
else
{
button1.Font = new System.Drawing.Font("宋体", 9f);
}
}