【源码】不规则矩形窗体的设计

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace SmsSend
{
public partial class Form2 : Form
{
public Form2()
{
InitializeComponent();
this.BackColor = SystemColors.ActiveCaptionText;
this.TransparencyKey = Color.White;
this.FormBorderStyle = FormBorderStyle.None;
this.BackgroundImage = Properties.Resources._1;
}
}
}

 

posted @ 2011-11-04 17:25  心_远  阅读(186)  评论(0编辑  收藏  举报