|
I'm getting an exception in my windows forms application on this line:
this.textBox1 = new System.Windows.Forms.TextBox();
the exception text:
A first chance exception of type 'System.ArgumentException' occurred in system.drawing.dll Additional information: Only TrueType fonts are supported, and this is not a TrueType font.
This textbox is inside another control, but this call is in the InitializeComponent() method that is generated by vis studio. I'm not getting the error anywhere else that I'm using textboxes. The control it's inside derives from System.Windows.Forms.UserControl.
Help? I have to have this project done before I can leave the company for a higher paying job, and I'm completely out of ideas! |