Click here to Skip to main content
15,887,416 members
Home / Discussions / C#
   

C#

 
GeneralRe: getting Zedgraph into a stand-alone application Pin
JoeHapp2-Jun-11 7:39
JoeHapp2-Jun-11 7:39 
Questionsocket minimum recieve Pin
programmer.coder24-Oct-09 22:13
programmer.coder24-Oct-09 22:13 
QuestionProblem with extracting file names from the file names returned by FTP LIST command Pin
nccsbim07124-Oct-09 21:04
nccsbim07124-Oct-09 21:04 
QuestionTreeview in a thread [modified] Pin
Ronni Marker24-Oct-09 20:54
Ronni Marker24-Oct-09 20:54 
AnswerRe: Treeview in a thread Pin
Ronni Marker24-Oct-09 20:55
Ronni Marker24-Oct-09 20:55 
AnswerRe: Treeview in a thread Pin
Nicholas Butler24-Oct-09 21:57
sitebuilderNicholas Butler24-Oct-09 21:57 
GeneralRe: Treeview in a thread Pin
Ronni Marker24-Oct-09 22:51
Ronni Marker24-Oct-09 22:51 
GeneralRe: Treeview in a thread Pin
Nicholas Butler24-Oct-09 23:32
sitebuilderNicholas Butler24-Oct-09 23:32 
This is an example for WinForms. WPF is similar, but uses the Dispatcher class.

private void UpdateTreeView( DataTable dt )
{
  for ( int i = 0 ; i < dt.Rows.Count ; i++ )
  {
    TemplateManagerTreeView(dt.Rows[i]["id"].ToString(), dt.Rows[i]["name"].ToString());
  }
}


Then in ThreadGroups() put:

frmTemplateManager.treeView1.Invoke( ( Action<DataTable> ) UpdateTreeView, dt );


Nick

----------------------------------
Be excellent to each other Smile | :)

GeneralRe: Treeview in a thread Pin
Ronni Marker26-Oct-09 17:59
Ronni Marker26-Oct-09 17:59 
AnswerRe: Treeview in a thread Pin
Luc Pattyn25-Oct-09 12:35
sitebuilderLuc Pattyn25-Oct-09 12:35 
GeneralRe: Treeview in a thread Pin
Ronni Marker26-Oct-09 18:03
Ronni Marker26-Oct-09 18:03 
QuestionHow can i run the open and save file codes in C# ??? [modified] Pin
ghe143lhei24-Oct-09 19:59
ghe143lhei24-Oct-09 19:59 
AnswerRe: How can i run the open and save file codes in C# ??? Pin
OriginalGriff24-Oct-09 22:43
mveOriginalGriff24-Oct-09 22:43 
Questionhow to bind TreeView to hierarchical data (Recursive Queries) ? Pin
hdv21224-Oct-09 18:25
hdv21224-Oct-09 18:25 
QuestionAn array of valuetypes that contain ponters to other valuetypes in an array. [modified] Pin
CaptainSeeSharp24-Oct-09 13:13
CaptainSeeSharp24-Oct-09 13:13 
AnswerRe: An array of valuetypes that contain ponters to other valuetypes in an array. Pin
Christian Graus24-Oct-09 13:16
protectorChristian Graus24-Oct-09 13:16 
GeneralRe: An array of valuetypes that contain ponters to other valuetypes in an array. Pin
CaptainSeeSharp24-Oct-09 13:30
CaptainSeeSharp24-Oct-09 13:30 
GeneralRe: An array of valuetypes that contain ponters to other valuetypes in an array. PinPopular
Christian Graus24-Oct-09 14:12
protectorChristian Graus24-Oct-09 14:12 
GeneralRe: An array of valuetypes that contain ponters to other valuetypes in an array. Pin
Not Active24-Oct-09 15:47
mentorNot Active24-Oct-09 15:47 
GeneralRe: An array of valuetypes that contain ponters to other valuetypes in an array. Pin
Christian Graus24-Oct-09 23:24
protectorChristian Graus24-Oct-09 23:24 
GeneralRe: An array of valuetypes that contain ponters to other valuetypes in an array. Pin
Christian Graus24-Oct-09 14:42
protectorChristian Graus24-Oct-09 14:42 
GeneralRe: An array of valuetypes that contain ponters to other valuetypes in an array. [modified] Pin
CaptainSeeSharp24-Oct-09 16:01
CaptainSeeSharp24-Oct-09 16:01 
GeneralRe: An array of valuetypes that contain ponters to other valuetypes in an array. Pin
Christian Graus24-Oct-09 23:23
protectorChristian Graus24-Oct-09 23:23 
GeneralRe: An array of valuetypes that contain ponters to other valuetypes in an array. Pin
miss YY25-Oct-09 23:33
miss YY25-Oct-09 23:33 
Questioncaptcha image from WebBrowser into a picturebox Pin
yogesh_softworld12324-Oct-09 5:17
yogesh_softworld12324-Oct-09 5:17 

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.