主线程捕获到未处理异常:System.ArgumentException
异常信息:字体“Courier New”不支持样式“Regular”。
异常堆栈: 在 System.Drawing.Font.CreateNativeFont()
在 System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
在 System.Drawing.Font..ctor(FontFamily family, Single emSize)
在 QWhale.Common.Painter..ctor()
在 QWhale.Editor.SyntaxEdit.CreatePainter()
在 QWhale.Editor.SyntaxEdit..ctor()
在 QWhale.Editor.SyntaxEdit..ctor(IContainer container)
在 RulesTab2.RulesEditor.InitializeComponent()
在 RulesTab2.RulesEditor..ctor()
在 RulesTab2.RulesTab2.EnsureReady()
在 RulesTab2.RulesTab2.tabsViews_SelectedIndexChanged(Object sender, EventArgs e)
在 System.EventHandler.Invoke(Object sender, EventArgs e)
在 System.Windows.Forms.TabControl.OnSelectedIndexChanged(EventArgs e)
在 System.Windows.Forms.TabControl.WmSelChange()
在 System.Windows.Forms.TabControl.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
@Eric, thank you very much~
Errors of this nature typically result from your system missing a font file in C:\Windows\Fonts. There are also obscure configuration problems in the registry that can lead to the same result, but replacing your Courier New font should be your first approach.
sorry, this is verion info:
Progress Telerik Fiddler Web Debugger
v5.0.20181.14850 for .NET 4.6.1
Built: 2018年3月20日
64-bit AMD64, VM: 833.0mb, WS: 795.0mb
.NET 4.6.2 WinNT 6.1.7601 SP1
You've run Progress Telerik Fiddler: 32 times.
Running ELEVATED on: wyw46861:8888
Listening to: All Adapters
Gateway: No Gateway
Copyright ©2003-2018 Telerik AD. All rights reserved.