txtName 是Textbox文本框
1 單純修改字體 txtName.Font = new Font("仿宋", txtName.Font.Size, txtName.Font.Style);
2 單純修改字體樣式 txtName.Font = new Font(txtName.Font, txtName.Font.Style | FontStyle.Bold); (在原有樣式中加) ^(與是本來有該種樣式的變為沒有);
3 初始話字體 txtName.Font = new Font("宋體",20,FontStyle.Regular);
