Click here to Skip to main content
15,867,704 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to run exe file in ram (on the fly) ? Pin
originSH3-Apr-07 3:50
originSH3-Apr-07 3:50 
GeneralRe: how to run exe file in ram (on the fly) ? Pin
Pete O'Hanlon3-Apr-07 4:39
subeditorPete O'Hanlon3-Apr-07 4:39 
GeneralRe: how to run exe file in ram (on the fly) ? Pin
originSH3-Apr-07 5:27
originSH3-Apr-07 5:27 
QuestionUpdate properties of an arraylist of components quickly Pin
jonwalmsley3-Apr-07 1:56
jonwalmsley3-Apr-07 1:56 
AnswerRe: Update properties of an arraylist of components quickly Pin
Bijesh3-Apr-07 3:15
Bijesh3-Apr-07 3:15 
GeneralRe: Update properties of an arraylist of components quickly Pin
jonwalmsley3-Apr-07 3:59
jonwalmsley3-Apr-07 3:59 
GeneralRe: Update properties of an arraylist of components quickly Pin
jonwalmsley3-Apr-07 4:20
jonwalmsley3-Apr-07 4:20 
QuestionHow to start method after another one finishes (Thread) Pin
choopie3-Apr-07 1:38
choopie3-Apr-07 1:38 
Hello fellows. I need your help. I have a Windows.Forms application which makes a connection to a database about 5 - 10 seconds. While I'm trying to connect to the database, an animated control starts an animation . After the connection is made I stop the animation and want to run another function to fill a DataGrid control.

private void OpenConFunction()
{
//... some code
}

private void AfterConnFunction()
{
//... some code to fill DataGrid control
}

private void myButton_Click(object sender, System.EventArgs e)
{
Thread t = new Thread(new ThreadStart(OpenConFunction));
t.Start();

this.AnimatedControl.Start(); //Suppose AnimatedControl
//has two methods one to start animation and a second one to stop it
}

What has to be the code after OpenConFunction returns? I want to invoke the AfterConnFunction and stop the AnimatedControl animation?
AnswerRe: How to start method after another one finishes (Thread) Pin
karam chandrabose3-Apr-07 1:46
karam chandrabose3-Apr-07 1:46 
GeneralRe: How to start method after another one finishes (Thread) Pin
choopie3-Apr-07 2:28
choopie3-Apr-07 2:28 
GeneralRe: How to start method after another one finishes (Thread) Pin
choopie3-Apr-07 2:30
choopie3-Apr-07 2:30 
AnswerRe: How to start method after another one finishes (Thread) Pin
Bijesh3-Apr-07 2:38
Bijesh3-Apr-07 2:38 
GeneralRe: How to start method after another one finishes (Thread) Pin
choopie3-Apr-07 2:57
choopie3-Apr-07 2:57 
Questionhow to see raw xml in webservices Pin
turgut eren3-Apr-07 1:32
turgut eren3-Apr-07 1:32 
AnswerRe: how to see raw xml in webservices Pin
Marek Grzenkowicz3-Apr-07 3:46
Marek Grzenkowicz3-Apr-07 3:46 
QuestionDatabase Pin
kk.tvm3-Apr-07 1:28
kk.tvm3-Apr-07 1:28 
AnswerRe: Database Pin
karam chandrabose3-Apr-07 1:41
karam chandrabose3-Apr-07 1:41 
QuestionAlign toolstrip backgroundimage to the right? [modified] Pin
akkram3-Apr-07 1:03
akkram3-Apr-07 1:03 
Questionhi Pin
sooreeagt3-Apr-07 0:27
sooreeagt3-Apr-07 0:27 
AnswerRe: hi Pin
originSH3-Apr-07 0:35
originSH3-Apr-07 0:35 
GeneralRe: hi Pin
Martin#3-Apr-07 0:54
Martin#3-Apr-07 0:54 
GeneralRe: hi Pin
J4amieC3-Apr-07 1:15
J4amieC3-Apr-07 1:15 
GeneralRe: hi Pin
Martin#3-Apr-07 1:19
Martin#3-Apr-07 1:19 
GeneralRe: hi Pin
karam chandrabose3-Apr-07 1:39
karam chandrabose3-Apr-07 1:39 
GeneralRe: hi Pin
Martin#3-Apr-07 1:42
Martin#3-Apr-07 1:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.