Set irregular shape for windows form
来源:互联网 发布:视频特效软件 编辑:程序博客网 时间:2024/05/22 02:06
在.net window form编程中,窗体都以矩形方式展现给用户,我们可以将窗体个性化,创建非矩形的Windows窗体。
private void Form1_Paint(object sender, PaintEventArgs e)
...{
System.Drawing.Drawing2D.GraphicsPath shape = new System.Drawing.Drawing2D.GraphicsPath();
shape.AddEllipse(0, 0, this.Width, this.Height);
this.Region = new System.Drawing.Region(shape);
}
...{
System.Drawing.Drawing2D.GraphicsPath shape = new System.Drawing.Drawing2D.GraphicsPath();
shape.AddEllipse(0, 0, this.Width, this.Height);
this.Region = new System.Drawing.Region(shape);
}
- Set irregular shape for windows form
- Irregular Shaped Form
- htmleditor for windows form application
- Irregular Verbs
- set a font for all child windows
- android xml set,selector,shape
- windows form
- AX 2009 视图控件设置权限 - set permission for form button
- How to Set Classpath for Java on Windows and Linux
- Set Up VTune Amplifier(windows) 2015 for Remote (linux)Analysis
- Set Up VTune Amplifier(windows) 2015 for Remote (linux)Analysis
- Common Irregular Verb List
- create irregular window
- Updating at irregular intervals
- Change the shape of a form
- C#_MVC_ajax for form
- Windows Form in IE
- Windows Form初学
- 计算机登陆域速度慢的分析与解决
- 照明设计原理
- 电脑蓝屏后该做的几件事情
- MS SQL SERVER中时间的精度问题
- c++中的字符数组
- Set irregular shape for windows form
- 用位运算获得集合的所有子集
- Widows 文件操作和内存映射
- swt-designer配置开发环境
- VC++快捷键大全
- 使用mysqlbinlog查看二进制日志的问题
- Oracle 精妙SQL语句集锦
- 估算数学常量e的值:e=1+1/1!+1/2!+1/3!+...
- Second life的源码销售方式