01 2019 档案

_035_将字母转化为大写或小写
摘要:using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System... 阅读全文

posted @ 2019-01-15 00:07 援手 阅读(183) 评论(0) 推荐(0)

_034_使用goto语句在数组中搜索指定图书
摘要:using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using Syst... 阅读全文

posted @ 2019-01-14 20:45 援手 阅读(238) 评论(0) 推荐(0)

_020_判断是否是闰年的函数
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace ConsoleApp 阅读全文

posted @ 2019-01-13 18:20 援手 阅读(309) 评论(0) 推荐(0)

_033_猜字游戏源码
摘要:using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.... 阅读全文

posted @ 2019-01-13 18:11 援手 阅读(220) 评论(0) 推荐(0)

关于后台事件中(object sender, EventArgs e)说明
摘要:sender是事件源 就是指发起这个事件的对象(控件) //表示触发事件的那个控件 比如说你按下按钮,那么sender就是按钮 又如:textboxchange,sender就是该textbox,在事件处理中就可以用sender代替textbox. 如: (sender as TextBox).Te 阅读全文

posted @ 2019-01-13 08:48 援手 阅读(1076) 评论(0) 推荐(0)

WinForm事件中的Object sender和EventArgs e参数
摘要:Windows程序有一个事件机制。用于处理用户事件。 在WinForm中我们经常需要给控件添加事件。例如给一个Button按钮添加一个Click点击事件。给TextBox文本框添加一个KeyPress 键盘按下事件。通过强大的IDE,双击控件就能直接添加一个该控件默认的事件。 1 2 3 4 pri 阅读全文

posted @ 2019-01-13 08:40 援手 阅读(1437) 评论(0) 推荐(1)