摘要:
Graphics g; g=this.CreateGraphics()//画布为当前窗体 g=textBox1.CreateGraphics()//画布为textbox SolidBrush 纯色填充 SolidBrush(Color): Initializes a new SolidBrush o 阅读全文
摘要:
form1.cs public partial class Form1 : Form { int nCount = 0; //记录点击次数 const int startX = 100; //起点位置 const int startY = 100; const int width = 150; // 阅读全文