摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace _10._2._2 { public partial class Form1 : Form { public Form1() { Init... 阅读全文
posted @ 2012-11-22 15:47 Finlay Liu 阅读(2636) 评论(0) 推荐(0) 编辑
摘要: GDI+:Graphics Device InterfacePlus也就是图形设备接口,提供了各种丰富的图形图像处理功能;在C#.NET中,使用GDI+处理二维(2D)的图形和图像,使用DirectX处理三维(3D)的图形图像,图形图像处理用到的主要命名空间是System.Drawing:提供了对GDI+基本图形功能的访问,主要有Graphics类、Bitmap类、从Brush类继承的类、Font类、Icon类、Image类、Pen类、Color类等.using System; using System.Collections.Generic; using System.ComponentMo 阅读全文
posted @ 2012-11-22 15:44 Finlay Liu 阅读(992) 评论(0) 推荐(0) 编辑
摘要: 我们在程序中经常会用到MessageBox。 MessageBox.Show()共有21中重载方法。现将其常见用法总结如下:1.MessageBox.Show("Hello~~~~");最简单的,只显示提示信息。2.MessageBox.Show("There are something wrong!","ERROR");可以给消息框加上标题。3.if(MessageBox.Show("Deletethis user?","Confirm Message",MessageBoxButtons.O 阅读全文
posted @ 2012-11-22 15:41 Finlay Liu 阅读(277) 评论(0) 推荐(0) 编辑