PDA

Click to See Complete Forum and Search --> : Calling an event in a thread


kumar_1981
Mar 22nd, 2007, 09:10 AM
Hi


i am having form1
in form1 i am having a method CheckforUpdates()


public void CheckforUpdates()
{
bool test;

i am getting the test value on one condition.


if (test==true)
{
BallonText.Text="Updates are availbale";


}

}


and i am having BaloonClicked event

in that event i am performing some action

i kept CheckForUpdates() in a thread


form_load()
{
Thread t1=new thread(new threadstart(Checkforupdates)
t1.start();

}

in this one if i click the baloonClick event is not getting fired.


please help me in this regard


should i invoke event with any procedure . i found it is not getting fired default


Thanks and Regards
Vinay Kumar