#如何制作旋转椭圆形按钮?就是右键单击可以旋转?
解决方案 »
- webBrowser开发自动填表遇到个棘手的问题
- CS1040: 预处理器指令必须作为一行的第一个非空白字符出现
- 虚拟机能ping外网 不能上网
- vc能不能调用c# webservice 的list范型 的
- ???vs2005制作web安装程序, 我需要在安装过程中运行其他安装程序,如何打包?
- 跪求基于modbus/tcp协议监控系统相关资料
- 怎么把程序打包?
- Excel文件打印参数怎么设置?在线等,马上结贴
- 使用fckeditor上传图片的时候,老是出现 xml request error 500 错误
- 高分求解:如何在代码中将文本框绑定到dataSet中某个表的某个字段?
- 用c# winform 如何实现删除 IE 缓存,IE cookies ???????
- asp.net ajax里ModalPopupExtender控件和Dropdownlist的问题
{
protected override void OnPaint(System.Windows.Forms.PaintEventArgs pevent)
{
this.Size =new Size(50,50);
System.Drawing.Drawing2D.GraphicsPath aCircle =
new System.Drawing.Drawing2D.GraphicsPath();
aCircle.AddEllipse(new System.Drawing.RectangleF(0,0,50,50));
this.Region =new Region(aCircle);
}
}
private void Form1_Load(object sender, System.EventArgs e)
{
RoundButton rb = new RoundButton();
rb.Click += new System.EventHandler(this.roundButton_Click);
this.Controls.Add(rb);
}
private void roundButton_Click(object sender,System.EventArgs e)
{
MessageBox.Show("Hello");
}