
ToolBox’dan eklenecekler: 5 Label, 1 Timer.
Form1_Load:
timer1.Start();
Timer1_Tick:
label1.Text = DateTime.Now.Hour.ToString();
label3.Text = DateTime.Now.Minute.ToString();
label5.Text = DateTime.Now.Second.ToString();
Çıktısı:
ToolBox’dan eklenecekler: 5 Label, 1 Timer.
Form1_Load:
timer1.Start();
Timer1_Tick:
label1.Text = DateTime.Now.Hour.ToString();
label3.Text = DateTime.Now.Minute.ToString();
label5.Text = DateTime.Now.Second.ToString();
Çıktısı: