2019年12月3日

摘要: 实现效果: 1,添加三个按钮 2,添加两个TextBox控件,利用KeyPress事件来控制不让有其他字母输进来。 3,添加两个Lable标签用来跟随图形移动,位置提前测量出来。 4.添加Timer组件,设置Enabled为True,然后再利用Timer的事件。 using System; usin 阅读全文

posted @ 2019-12-03 22:18 冰糖Luck1996 阅读(280) 评论(0) 推荐(0) 编辑

摘要: 一,solidBrush 纯色填充 利用窗体的paint事件 private void Form1_Paint(object sender, PaintEventArgs e) { Graphics g = e.Graphics; Brush br = new SolidBrush(Color.Re 阅读全文

posted @ 2019-12-03 15:01 冰糖Luck1996 阅读(226) 评论(0) 推荐(0) 编辑