Click here to Skip to main content
15,885,985 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi To All!
Respected sir/ma'am.This is first time i am developing software so i have one question i want to display One label(Welcome to user) on the middle(center) of my monitor screen but as you know screen size is vary like mine is 19Inc others(my client)might have larger than it or may smaller than it,so I want my Welcome Label should appear on the center of the screen irrespective of size of the monitor screen...
Pleas reply
Thanks
Posted
Comments
Sergey Alexandrovich Kryukov 6-May-13 3:10am    
The question makes no sense, here is why: "tooltip" is related to UI, and you did not tag the UI library you use, or your application type.
—SA
Is the web or windows application ?
Arifa S 6-May-13 3:42am    
Its a Window Application

1 solution

If it is windows application,
set welcome label's properties...
C#
Label1.Dock = Fill;
Label1.TextAlign = MiddleCenter;

Happy Coding!
:)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900