好库网首页 | 我的好库
好库网 好库网社区
IT社区 » .NET » C#/F# » C# -- Problems with Forms
回复 发帖

查看:22    回复:0 C# -- Problems with Forms
访问spadekevin的空间
发表于 2018/6/25 22:31:48
1楼

Hi,

 

When I do this at runtime;FormBorderStyle = FormBorderStyle.None;

It screws up the desktop image which is fixed by refreshing hte screen. Is there any way to get this propety to draw more cleanly or failing that can I force WIndows to perform a screen refresh from the application?Also if I create a form with a label on it, set the labels backcolor to the same as the form. Then se t the TransparencyKey to the backcolor to make the form invisible ownly showing the labels text. This works but when ever I bring up the start menu the labels back color becomes visible, any fixes?Can I set the form to auto size itself to fit the size of the controls?

 

Any help will be apprecited.

 

I didn't find the right solution from the Internet.

 

References:

https://arstechnica.com/civis/viewtopic.php?f=20&t=846612

Real Estate Video

 

Thank you.

 

 

 

 

您需要登录后才可以回帖 登录 | 注册
回复 发帖