Click here to Skip to main content
15,911,785 members
Home / Discussions / C#
   

C#

 
GeneralMessage Removed Pin
31-Jan-10 7:48
Zerodagreez31-Jan-10 7:48 
GeneralRe: Int64 Array overloading problems Pin
PIEBALDconsult31-Jan-10 8:31
mvePIEBALDconsult31-Jan-10 8:31 
GeneralRe: Int64 Array overloading problems Pin
#realJSOP31-Jan-10 9:03
professional#realJSOP31-Jan-10 9:03 
GeneralRe: Int64 Array overloading problems Pin
Zerodagreez1-Feb-10 3:53
Zerodagreez1-Feb-10 3:53 
GeneralRe: Int64 Array overloading problems Pin
Zerodagreez1-Feb-10 14:46
Zerodagreez1-Feb-10 14:46 
AnswerRe: Int64 Array overloading problems Pin
PIEBALDconsult31-Jan-10 8:49
mvePIEBALDconsult31-Jan-10 8:49 
Questionchange Items selected in a listbox in runtime Pin
googoojkhan30-Jan-10 19:29
googoojkhan30-Jan-10 19:29 
AnswerRe: change Items selected in a listbox in runtime Pin
Dan Mos30-Jan-10 20:08
Dan Mos30-Jan-10 20:08 
You could create a method like PopulateListItems(TreeNode currentNode) and call that method when the treeview selected node changes. The method gets all the child nodes in this example(at least should). You can make it do whatever you want.

something like this for examle:

private void PopulateList(TreeNode tn){
   if (tn.Nodes.Count > 0) 
   {
      listView1.BeginUpdate();
      listView1.Items.Clear();
      foreach(var tr in tn.Nodes)
      { 
          listView1.Items.Add(tr.Text);
      }
      listView1.EndUpdate();
   }
}


And call the method each time the select node changes.
GeneralRe: change Items selected in a listbox in runtime Pin
Luc Pattyn31-Jan-10 1:47
sitebuilderLuc Pattyn31-Jan-10 1:47 
GeneralRe: change Items selected in a listbox in runtime Pin
Dan Mos31-Jan-10 2:20
Dan Mos31-Jan-10 2:20 
AnswerRe: change Items selected in a listbox in runtime Pin
Mycroft Holmes31-Jan-10 0:12
professionalMycroft Holmes31-Jan-10 0:12 
AnswerRe: change Items selected in a listbox in runtime Pin
googoojkhan31-Jan-10 0:19
googoojkhan31-Jan-10 0:19 
QuestionItem in C# Pin
jojoba201030-Jan-10 19:05
jojoba201030-Jan-10 19:05 
QuestionRe: Item in C# Pin
jojoba201030-Jan-10 21:39
jojoba201030-Jan-10 21:39 
QuestionFind maximum font size where string fits in a box [modified] Pin
hain30-Jan-10 11:43
hain30-Jan-10 11:43 
AnswerRe: Find maximum font size where string fits in a box Pin
Luc Pattyn30-Jan-10 12:24
sitebuilderLuc Pattyn30-Jan-10 12:24 
GeneralRe: Find maximum font size where string fits in a box Pin
DaveyM6930-Jan-10 13:46
professionalDaveyM6930-Jan-10 13:46 
GeneralRe: Find maximum font size where string fits in a box Pin
Luc Pattyn30-Jan-10 13:56
sitebuilderLuc Pattyn30-Jan-10 13:56 
GeneralRe: Find maximum font size where string fits in a box Pin
DaveyM6930-Jan-10 14:07
professionalDaveyM6930-Jan-10 14:07 
GeneralRe: Find maximum font size where string fits in a box Pin
hain6-Feb-10 17:19
hain6-Feb-10 17:19 
AnswerRe: Find maximum font size where string fits in a box Pin
Dave Kreskowiak30-Jan-10 14:07
mveDave Kreskowiak30-Jan-10 14:07 
AnswerRe: Find maximum font size where string fits in a box Pin
#realJSOP31-Jan-10 0:16
professional#realJSOP31-Jan-10 0:16 
QuestionSorting Pin
BobInNJ30-Jan-10 11:00
BobInNJ30-Jan-10 11:00 
AnswerRe: Sorting Pin
Luc Pattyn30-Jan-10 11:30
sitebuilderLuc Pattyn30-Jan-10 11:30 
GeneralRe: Sorting Pin
BobInNJ30-Jan-10 12:06
BobInNJ30-Jan-10 12:06 

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.