哈囉
private void timer1_Tick(object sender, EventArgs e) { // 宣告 DateTime 型別,接收 DateTime.Now DateTime DT_now = DateTime.Now; labelNowTime.Text = DT_now.Hour + ":" + DT_now.Minute + ":" + DT_now.Second; }