Click here to Skip to main content
15,907,905 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
hi
i want to give welcome notes first
and
after 10 secs in the same label it should show time
is that possible to do it

how to do it
do anyone know
in label text i typed welcome
and in form i typed Label7.Text = Now
this shows time
Posted
Updated 26-Jan-12 9:51am
v2
Comments
Sergey Alexandrovich Kryukov 25-Jan-12 16:57pm    
First off all, I must say, such behavior irritates most user. Consider not doing it.

The question is not fully formulated. You need to tag you UI library or application type. What is it: WPF, Forms, Silverlight, ASP.NET? Tag it, not just mention. Also, explain what's your problem. Use "Improve question".
--SA
Sergey Alexandrovich Kryukov 25-Jan-12 16:58pm    

A suggestion to all experts:

We should stop attempting to answer any questions if OP does not properly specify type of application, UI library and other relevant detail which would exclude this kind of confusion. All type mentioned in the question should be written in fully-qualified form. We should request it and only answer when OP comply. Multiple failures to specify such detail became a curse of this forum.



--SA

1 solution

very simple.lets your timer delay is 1 sec
C#
var count=0;

in your timer function
C#
void timer_function()
{
if(cout >= 10)
{
   label1.text=DateTime.Now.Tostring();
}
else
   count++;
}
 
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