Time时间表
来源:互联网 发布:办公软件mac版免费 编辑:程序博客网 时间:2024/05/19 02:26
先建windows窗体应用程序,再建自定仪窗体
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 teibin24
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
this.timer1.Start();
}
private void timer1_Tick(object sender, EventArgs e)
{
this.label1.Text = System.DateTime.Now.ToString()+System.DateTime.Now.Millisecond.ToString();
timer1.Interval = 1000;
}
private void button1_Click(object sender, EventArgs e)
{
if (button1.Text == "stop")
{
button1.Text = "Start";
timer1.Enabled = false;
}
else
{
button1.Text = "stop";
timer1.Enabled = true;
}
}
}
}
- Time时间表
- 时间表
- 时间表
- 时间表
- 世界杯时间表
- 身体时间表
- 喝水时间表
- 作息时间表
- C++时间表
- 各地时间表
- 作息时间表
- 德国世界杯时间表
- 新年时间表
- 作息时间表
- 时间表-感悟
- 会议时间表
- 工作日时间表
- 每日时间表
- 建立词到文档的快速查找
- autorelease
- 80端口被占用的解决方法
- 10种易犯的居家风水错误
- 黑马程序员_关于选择排序和冒泡排序的复习
- Time时间表
- linux串口
- 推荐7本不错的HTML5书籍
- 20120329_dmp 文件导入&ibm p750-2个LPAR 小机知识点
- 使用git获取Linux的内核源代码
- url传汉字乱码问题
- mysql优化
- 黑马程序员-SQL语句总结
- dwr 和struts 配置 冲突解决