Exception: System.ArgumentException Message: Parameter is not valid.
Stack: at System.Drawing.Font.ToLogFont(Object logFont, Graphics graphics) at System.Drawing.Font.ToLogFont(Object logFont) at System.Drawing.Font.ToHfont() at System.Windows.Forms.Control.FontHandleWrapper..ctor(Font font) at System.Windows.Forms.Control.get_FontHandle() at System.Windows.Forms.Control.SetWindowFont() at System.Windows.Forms.Control.OnHandleCreated(EventArgs e) at System.Windows.Forms.TextBoxBase.OnHandleCreated(EventArgs e) at System.Windows.Forms.TextBox.OnHandleCreated(EventArgs e) at System.Windows.Forms.Control.WmCreate(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.TextBoxBase.WndProc(Message& m) at System.Windows.Forms.TextBox.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Configuration dump:
Environment
I use a non released version (1.3.277) because I wanted to use the Shortcut CTRL + SHIFT + Z to open the option “Open image from Clipboard” functionality.
Software version: 1.3.277 - f862e79485 (64 bit)
.NET runtime version: 4.0.30319.42000+
Time: 2024-08-21 10:28:24 -03:00
OS: Windows 10 2009 x64 build 22631
GDI object count: 146
User object count: 98
Exception: System.ArgumentException
Message: Parameter is not valid.
Stack:
at System.Drawing.Font.ToLogFont(Object logFont, Graphics graphics)
at System.Drawing.Font.ToLogFont(Object logFont)
at System.Drawing.Font.ToHfont()
at System.Windows.Forms.Control.FontHandleWrapper..ctor(Font font)
at System.Windows.Forms.Control.get_FontHandle()
at System.Windows.Forms.Control.SetWindowFont()
at System.Windows.Forms.Control.OnHandleCreated(EventArgs e)
at System.Windows.Forms.TextBoxBase.OnHandleCreated(EventArgs e)
at System.Windows.Forms.TextBox.OnHandleCreated(EventArgs e)
at System.Windows.Forms.Control.WmCreate(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.TextBoxBase.WndProc(Message& m)
at System.Windows.Forms.TextBox.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Configuration dump: