首先引入命名空间 using System.Drawing; 利用Graphics类创建一个椭圆,然后分块,而且用不同的颜色填充 protected void Page_Load(object sender, EventArgs e) { Bitmap image = new Bitmap(350, 200); Graphics g = Graphics.... Read More
protected void Page_Load(object sender, EventArgs e) { DirectoryInfo d = Directory.CreateDirectory("c:\\first"); DirectoryInfo d1 = d.CreateSubdirectory("first1"); Director... Read More