怎么做不规则窗体... 谢谢
Microsoft Visual Studio .NET 2003
下怎么做不规则窗体,看了一下微软视屏,云里雾里.........
有需要的 视屏我可以上传... 请教了
------解决方案--------------------
http://allancandy.cnblogs.com/archive/2005/09/01/227814.html
------解决方案-------------------- public partial class Form1 : Form
{
Bitmap bit;
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
bit = new Bitmap("heart.bmp");
bit.MakeTransparent(Color.Blue);
}
protected override void OnPaint(PaintEventArgs e)
{
e.Graphics.DrawImage((Image)bit, new Point(0, 0));
}
private void label1_Click(object sender, EventArgs e)
{
this.Close();
}
}
可以自己加张图片试试