急问 简单的问题 分不多 因为我是新手 我要把按扭的外形变成圆的 这个怎么实现啊 很着急我想的是重构画外观的虚函数 我同学用vc++实现了 但是我不知道c#里面怎么实现 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 http://search.csdn.net/Expert/topic/2324/2324586.xml?temp=.7850763 System.Drawing.Drawing2D.GraphicsPath myGraphicsPath = new System.Drawing.Drawing2D.GraphicsPath(); myGraphicsPath.AddEllipse(new Rectangle(0, 0, 125, 125)); myGraphicsPath.AddEllipse(new Rectangle(75, 75, 20, 20)); myGraphicsPath.AddEllipse(new Rectangle(120, 0, 125, 125)); myGraphicsPath.AddEllipse(new Rectangle(145, 75, 20, 20)); //Change the button's background color so that it is easy //to see. bt1.BackColor = Color.Chartreuse; bt1.Size = new System.Drawing.Size(256, 256); bt1.Region = new Region(myGraphicsPath); 你要的话,email? 我发一个给你... C#是不能和VC++比的,他们各有各的优势!唯一的方法:楼上的! 淘宝TOP如何使用代理服务器? winform做一个抓取百度搜索 datetime类型的数据操作 固定列如何实现 一个不是循环的死循环!!求助解决。(C# WinForm) 关于dataList里面图片显示的问题 哪位能不能通俗的解释一下Thread Affinity到底是什么东东? 我想做一个会自动缩回去的窗体,就象VS2003的那样,怎么做啊 悬浮框问题 思归老兄,各位高人,请进来 急--在线等待 请高手帮忙怎么得到EXCEL中的表名添加到下拉列表中 如何建立oracle的连接池?
System.Drawing.Drawing2D.GraphicsPath();
myGraphicsPath.AddEllipse(new Rectangle(0, 0, 125, 125));
myGraphicsPath.AddEllipse(new Rectangle(75, 75, 20, 20));
myGraphicsPath.AddEllipse(new Rectangle(120, 0, 125, 125));
myGraphicsPath.AddEllipse(new Rectangle(145, 75, 20, 20));
//Change the button's background color so that it is easy
//to see.
bt1.BackColor = Color.Chartreuse;
bt1.Size = new System.Drawing.Size(256, 256);
bt1.Region = new Region(myGraphicsPath);