实现效果:
知识运用:
DateTime结构的Now属性
public Static DateTiem Now {get;}
实现代码:
private void Form1_Load(object sender, EventArgs e) { label1.Text ="现在时间是:"+ DateTime.Now; }