winform Timer控件的使用
2021-04-12 02:27
标签:orm inter 添加 ble sso cli class object proc winform Timer控件的使用 标签:orm inter 添加 ble sso cli class object proc 原文地址:https://www.cnblogs.com/vichin/p/9018031.htmlprivate void button1_Click(object sender, EventArgs e){
Timer timer1 = new Timer();
timer1.Interval = 1000;
timer1.Enabled = true;
timer1.Tick += new EventHandler(timer1EventProcessor);//添加事件
}
private void timer1EventProcessor(object sender, EventArgs e)
{
do sth……
}
文章标题:winform Timer控件的使用
文章链接:http://soscw.com/index.php/essay/74522.html