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

C#

 
AnswerRe: GridView and SEO Pin
Colin Angus Mackay15-Mar-09 15:47
Colin Angus Mackay15-Mar-09 15:47 
GeneralRe: GridView and SEO Pin
Feddo0415-Mar-09 16:04
Feddo0415-Mar-09 16:04 
GeneralRe: GridView and SEO Pin
Colin Angus Mackay15-Mar-09 16:11
Colin Angus Mackay15-Mar-09 16:11 
GeneralRe: GridView and SEO Pin
Feddo0420-Mar-09 5:09
Feddo0420-Mar-09 5:09 
QuestionObjects on another form Pin
Jon Henry15-Mar-09 13:45
Jon Henry15-Mar-09 13:45 
AnswerRe: Objects on another form Pin
Christian Graus15-Mar-09 14:11
protectorChristian Graus15-Mar-09 14:11 
GeneralRe: Objects on another form Pin
Jon Henry15-Mar-09 14:30
Jon Henry15-Mar-09 14:30 
GeneralRe: Objects on another form Pin
Christian Graus15-Mar-09 18:39
protectorChristian Graus15-Mar-09 18:39 
OK, in the first instance, creating the second form is insane. Instead, you can pass the first form through using this, so that it becomes a variable inside the second class. This is the easy way, but not good practice.

Secondly, the right way is a delegate. A delegate is a function pointer, which can then be called in class a, but it executes code in class b. So set up a delegate that then calls a method in the main form, passing in the name of the file to start playing. If you google delegates, there's tons of examples, plenty of CP articles, etc.

Christian Graus

Driven to the arms of OSX by Vista.

AnswerRe: Objects on another form Pin
Natza Mitzi15-Mar-09 21:23
Natza Mitzi15-Mar-09 21:23 
Questionbind property to selected row from datagridview Pin
jogisarge15-Mar-09 10:15
jogisarge15-Mar-09 10:15 
AnswerRe: bind property to selected row from datagridview Pin
Mycroft Holmes15-Mar-09 14:09
professionalMycroft Holmes15-Mar-09 14:09 
Questiongenerate code dynamically ? Pin
Mubeen.asim15-Mar-09 9:53
Mubeen.asim15-Mar-09 9:53 
AnswerRe: generate code dynamically ? Pin
Pete O'Hanlon15-Mar-09 10:03
mvePete O'Hanlon15-Mar-09 10:03 
Questioncharacter recognition Pin
Swati Khanna15-Mar-09 7:15
Swati Khanna15-Mar-09 7:15 
AnswerRe: character recognition Pin
Xmen Real 15-Mar-09 7:48
professional Xmen Real 15-Mar-09 7:48 
AnswerRe: character recognition Pin
Christian Graus15-Mar-09 10:11
protectorChristian Graus15-Mar-09 10:11 
QuestionI thought I couldn't shadow... Pin
likefood15-Mar-09 6:39
likefood15-Mar-09 6:39 
AnswerRe: I thought I couldn't shadow... Pin
Steve_15-Mar-09 7:36
Steve_15-Mar-09 7:36 
GeneralRe: I thought I couldn't shadow... Pin
likefood15-Mar-09 7:52
likefood15-Mar-09 7:52 
GeneralRe: I thought I couldn't shadow... Pin
Steve_15-Mar-09 11:00
Steve_15-Mar-09 11:00 
AnswerRe: I thought I couldn't shadow... Pin
N a v a n e e t h15-Mar-09 7:53
N a v a n e e t h15-Mar-09 7:53 
AnswerRe: I thought I couldn't shadow... Pin
likefood15-Mar-09 8:04
likefood15-Mar-09 8:04 
GeneralRe: I thought I couldn't shadow... Pin
N a v a n e e t h15-Mar-09 8:22
N a v a n e e t h15-Mar-09 8:22 
GeneralRe: I thought I couldn't shadow... Pin
harold aptroot15-Mar-09 9:45
harold aptroot15-Mar-09 9:45 
QuestionVerify connection to mail server.... Pin
Jacob Dixon15-Mar-09 4:29
Jacob Dixon15-Mar-09 4:29 

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.