简体   繁体   English

更改窗体的字体后,Windows窗体未在设计模式下显示

[英]Windows Form not showing in design mode after changing the font of the form

I changed my form Font to Pak Nastaleeq (Its an Urdu font) of my widows application form, but after that my form is not show. 我将寡妇申请表的窗体字体更改为Pak Nastaleeq(它是乌尔都语字体),但此后不显示窗体。 its showing following result of the form in its design mode. 它在其设计模式下显示表单的以下结果。

在此处输入图片说明

Please help me and tell me what should I do to get my form back as it was earlier. 请帮助我,并告诉我应该怎么做才能恢复表格的状态。

Thanks 谢谢

  • Clean & Rebuild. 清理和重建。
  • Restart Visual Studio. 重新启动Visual Studio。
  • Tools->Options->Productivity Power Tools->Automatic Brace Completion (Turn it off). 工具->选项->生产力电动工具->自动支撑完成(将其关闭)。 Don't worry you can turn it on again. 不用担心,您可以再次打开它。
  • Make sure the target platform and target mode either Debug/Release . 确保target platformtarget mode either Debug/Release

It is always to version your project as you make changes if you are using express. 如果使用Express,则总是在进行更改时对项目进行版本控制。 Son that you can then just go to the previous file.designer.cs file and copy the source and do the necessary changes. 然后,您可以转到先前的file.designer.cs文件并复制源并进行必要的更改。 Just a tip. 只是一个小费。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM