如何设计Windows窗体 [英] how to design windows form

查看:82
本文介绍了如何设计Windows窗体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何设计时尚的Windows窗体,例如Visual Studio启动界面.
具有非矩形形状和背景阴影的

how can i design stylish windows form, for example Visual studio starting interface.
which has non-rectangle shape and background shades

推荐答案

使用WPF代替WinForms.如果您受制于winforms,则可以使用窗口的TransparencyKey属性将表单区域的某些部分设置为透明.只需将其设置为特定的颜色,然后该颜色出现在表格上的任何地方都将是透明的.您还应该将FormBorderStyle属性设置为None以获得最佳效果.

希望对您有帮助
Use WPF instead of WinForms. If you are stuck with winforms , then you can set some parts of the form area transparent, using TransparencyKey property of the window. Just set it to a specific colour, and then wherever that colour appears on the form it will be transparent. You should also set the FormBorderStyle property to None to get the best effect.

Hope this helps


这是设计启动画面的方法又一个启动画面在C# [ ^ ]
here is the way to design splash screen Yet Another Splash Screen in C#[^]


这篇关于如何设计Windows窗体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆