Pages

Total Pageviews

Add This

Showing posts with label Label. Show all posts
Showing posts with label Label. Show all posts

Wednesday, May 11, 2011

Now


Return encoded value representing the current date and time!

Label1.Text = Now

TimeString

Set or return the current time from the system clock!


Label1.Text = TimeString 

DateString


Set or return the current date from the system clock!

Label1.Text = DateString

Sunday, May 8, 2011

Change Font in Label using FontDialog

Write the code bellow:

FontDialog1.ShowDialog()
TextBox1.Font = FontDialog1.Font