public class YourForm : Form { public YourForm() { this.Font = SystemFonts.MessageBoxFont; } }
textBox1.Font = new Font("Tahoma", 12);
TextBox1.Font = new Font(new FontFamily("Tahoma"), TextBox1.Font.Size, TextBox1.Font.Style, TextBox1.Font.Unit);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)