hi guys! what is the best way to put a digital clock in a windows application? because currently the code below is my solution but i dont know if that is the best way or the right way to do that...any suggestions will be greatly appreciated..thanks in advance!
Code:private void TimerClock_Tick(object sender, EventArgs e) { lblDateTime.Text = DateTime.Now.ToShortDateString() + " " + DateTime.Now.ToLongTimeString(); }




Reply With Quote