c# 制作不规则形状窗体
private void Form1_Load(object sender, EventArgs e) { BackgroundImage = Image.FromFile(@"D:\heart.png"); FormBorderStyle = FormBorderStyle.None; BackgroundImageLayout = ImageLayout.None; Color c = Color.Blue; BackColor = c; TransparencyKey = c; Width = BackgroundImage.Width; Height = BackgroundImage.Height; }
浙公网安备 33010602011771号