private void timer1_Tick(object sender, EventArgs e)
{
DateTime dt = DateTime.Now;
label1.Text = dt.ToString();
}
private void Form1_Load(object sender, EventArgs e)
{
timer1.Enabled = true;
}
{
DateTime dt = DateTime.Now;
label1.Text = dt.ToString();
}
private void Form1_Load(object sender, EventArgs e)
{
timer1.Enabled = true;
}