Click here to Skip to main content
15,899,679 members
Home / Discussions / C#
   

C#

 
QuestionDrag and drop listview Pin
Diego F.3-Apr-07 5:03
Diego F.3-Apr-07 5:03 
AnswerRe: Drag and drop listview Pin
led mike3-Apr-07 6:01
led mike3-Apr-07 6:01 
GeneralRe: Drag and drop listview Pin
Diego F.3-Apr-07 21:52
Diego F.3-Apr-07 21:52 
QuestionHow to save Excel object for further use? Pin
BlackBar3-Apr-07 4:40
BlackBar3-Apr-07 4:40 
AnswerRe: How to save Excel object for further use? Pin
Douglas Troy3-Apr-07 5:35
Douglas Troy3-Apr-07 5:35 
GeneralRe: How to save Excel object for further use? Pin
BlackBar3-Apr-07 8:55
BlackBar3-Apr-07 8:55 
QuestionSQL Files Pin
hadad3-Apr-07 4:20
hadad3-Apr-07 4:20 
AnswerRe: SQL Files Pin
Douglas Troy3-Apr-07 7:15
Douglas Troy3-Apr-07 7:15 
Questionuse panel inside a user control to drop controls in and make this panel locked. Pin
Johnny Hooyberghs3-Apr-07 3:53
Johnny Hooyberghs3-Apr-07 3:53 
QuestionHow to open MyDocument Explorer, My Network places Explorer in C# Pin
Sanjib Raj3-Apr-07 2:29
Sanjib Raj3-Apr-07 2:29 
AnswerRe: How to open MyDocument Explorer, My Network places Explorer in C# Pin
kubben3-Apr-07 3:06
kubben3-Apr-07 3:06 
AnswerRe: How to open MyDocument Explorer, My Network places Explorer in C# Pin
Douglas Troy3-Apr-07 4:39
Douglas Troy3-Apr-07 4:39 
Questionhow to run exe file in ram (on the fly) ? Pin
hdv2123-Apr-07 1:58
hdv2123-Apr-07 1:58 
AnswerRe: how to run exe file in ram (on the fly) ? Pin
Pete O'Hanlon3-Apr-07 2:33
mvePete O'Hanlon3-Apr-07 2:33 
GeneralRe: how to run exe file in ram (on the fly) ? Pin
originSH3-Apr-07 2:35
originSH3-Apr-07 2:35 
GeneralRe: how to run exe file in ram (on the fly) ? Pin
Pete O'Hanlon3-Apr-07 3:07
mvePete O'Hanlon3-Apr-07 3:07 
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
mvePete 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 

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.