Greetings to all!
I was wondering if anyone had ever seen this error before:
Exception message: Invalid parameter used. (source='System.Drawing',
method='GetHeight')
Portion of the stack trace: System.Drawing.Font.GetHeight(Graphics
graphics)
at System.Drawing.Font.GetHeight()
at System.Drawing.Font.get_Height()
at System.Windows.Forms.Control.get_FontHeight()
at System.Windows.Forms.TextBoxBase.get_PreferredHeig ht()
at System.Windows.Forms.TextBoxBase.AdjustHeight()
at System.Windows.Forms.TextBoxBase.OnHandleCreated(E ventArgs e)
If anyone has seen this before, I would deeply appreciate some guidance
on how to stop it. Nothing is being done that is special - this error
just occurs when my program loads.
Thanks,
Kyjan