Click here to Skip to main content
15,901,035 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to use LoadFile method of RichTextbox ? Pin
Pete O'Hanlon21-Sep-07 3:50
mvePete O'Hanlon21-Sep-07 3:50 
QuestionProblem in TreeView Pin
stancrm21-Sep-07 2:18
stancrm21-Sep-07 2:18 
AnswerRe: Problem in TreeView Pin
DaveyM6921-Sep-07 2:24
professionalDaveyM6921-Sep-07 2:24 
QuestionDirectoryInfo UNC Path Pin
TheShihan21-Sep-07 2:18
TheShihan21-Sep-07 2:18 
AnswerRe: DirectoryInfo UNC Path Pin
TJoe21-Sep-07 2:57
TJoe21-Sep-07 2:57 
GeneralRe: DirectoryInfo UNC Path Pin
TheShihan21-Sep-07 3:14
TheShihan21-Sep-07 3:14 
GeneralRe: DirectoryInfo UNC Path Pin
TJoe21-Sep-07 3:29
TJoe21-Sep-07 3:29 
GeneralRe: DirectoryInfo UNC Path Pin
TheShihan21-Sep-07 3:40
TheShihan21-Sep-07 3:40 
GeneralRe: DirectoryInfo UNC Path Pin
TheShihan21-Sep-07 4:13
TheShihan21-Sep-07 4:13 
QuestionPage refresh..... Pin
pavya_Cool21-Sep-07 1:55
pavya_Cool21-Sep-07 1:55 
AnswerRe: Page refresh..... Pin
Christian Graus21-Sep-07 2:20
protectorChristian Graus21-Sep-07 2:20 
QuestionProblem in passing message betwin client server. Pin
Tarun Dudhatra21-Sep-07 0:49
Tarun Dudhatra21-Sep-07 0:49 
QuestionFill in a word file Pin
samerh21-Sep-07 0:07
samerh21-Sep-07 0:07 
AnswerRe: Fill in a word file Pin
Pete O'Hanlon21-Sep-07 0:29
mvePete O'Hanlon21-Sep-07 0:29 
GeneralRe: Fill in a word file Pin
samerh21-Sep-07 0:51
samerh21-Sep-07 0:51 
QuestionAcessing from method in class. Pin
pekhaleyogesh21-Sep-07 0:05
pekhaleyogesh21-Sep-07 0:05 
AnswerRe: Acessing from method in class. Pin
Pete O'Hanlon21-Sep-07 0:23
mvePete O'Hanlon21-Sep-07 0:23 
GeneralRe: Acessing from method in class. Pin
pekhaleyogesh21-Sep-07 0:29
pekhaleyogesh21-Sep-07 0:29 
GeneralRe: Acessing from method in class. Pin
Christian Graus21-Sep-07 0:31
protectorChristian Graus21-Sep-07 0:31 
GeneralRe: Acessing from method in class. Pin
Pete O'Hanlon21-Sep-07 0:32
mvePete O'Hanlon21-Sep-07 0:32 
Questionuse of list control in static method. Pin
pekhaleyogesh21-Sep-07 0:03
pekhaleyogesh21-Sep-07 0:03 
AnswerRe: use of list control in static method. Pin
Christian Graus21-Sep-07 0:32
protectorChristian Graus21-Sep-07 0:32 
AnswerRe: use of list control in static method. Pin
Anthony Mushrow21-Sep-07 1:54
professionalAnthony Mushrow21-Sep-07 1:54 
Asking twice eh? Don't know if you have an answer but, you can make the listbox static, and reference it with MainForm.myListBox (or whatever you class / listbox is called) but then you'd never be able to access the listbox with this. which is kinda annoying.

Or you could pass the listbox as a variable, im pretty sure that would work, but im not certain.

public static void Stuff(ListBox listbox) {<br />
  listbox.Items.Add("I like pie");<br />
}<br />
<br />
...<br />
<br />
Stuff(this.listBox1);<br />
//And magically, your listbox declares that it likes pie. I imagine.<br />
...


Oh, i get it now you, aksed an incredibly similar question in the topic above, but with a different title. Anyway...
QuestionHelp autonumber... Pin
KppsK20-Sep-07 23:28
KppsK20-Sep-07 23:28 
AnswerRe: Help autonumber... Pin
Colin Angus Mackay20-Sep-07 23:41
Colin Angus Mackay20-Sep-07 23:41 

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.