Click here to Skip to main content
16,007,885 members
Home / Discussions / C#
   

C#

 
GeneralRe: Control cannot fall through from one case label ('case 64:') to another? Pin
S. Senthil Kumar15-Mar-09 19:10
S. Senthil Kumar15-Mar-09 19:10 
GeneralRe: Control cannot fall through from one case label ('case 64:') to another? Pin
Christian Graus15-Mar-09 19:12
protectorChristian Graus15-Mar-09 19:12 
GeneralRe: Control cannot fall through from one case label ('case 64:') to another? Pin
dec8215-Mar-09 19:16
dec8215-Mar-09 19:16 
GeneralRe: Control cannot fall through from one case label ('case 64:') to another? Pin
S. Senthil Kumar15-Mar-09 19:45
S. Senthil Kumar15-Mar-09 19:45 
GeneralRe: Control cannot fall through from one case label ('case 64:') to another? Pin
Dave Kreskowiak15-Mar-09 20:23
mveDave Kreskowiak15-Mar-09 20:23 
GeneralRe: Control cannot fall through from one case label ('case 64:') to another? Pin
Christian Graus15-Mar-09 20:33
protectorChristian Graus15-Mar-09 20:33 
AnswerRe: Control cannot fall through from one case label ('case 64:') to another? Pin
Megidolaon16-Mar-09 1:49
Megidolaon16-Mar-09 1:49 
QuestionMake Transparent....??? Pin
S K Y15-Mar-09 16:44
S K Y15-Mar-09 16:44 
AnswerRe: Make Transparent....??? Pin
Christian Graus15-Mar-09 18:36
protectorChristian Graus15-Mar-09 18:36 
GeneralRe: Make Transparent....??? Pin
S K Y15-Mar-09 21:13
S K Y15-Mar-09 21:13 
AnswerRe: Make Transparent....??? Pin
#realJSOP16-Mar-09 2:53
professional#realJSOP16-Mar-09 2:53 
GeneralRe: Make Transparent....??? Pin
S K Y16-Mar-09 14:52
S K Y16-Mar-09 14:52 
GeneralRe: Make Transparent....??? Pin
#realJSOP18-Mar-09 1:22
professional#realJSOP18-Mar-09 1:22 
QuestionGridView and SEO Pin
Feddo0415-Mar-09 15:13
Feddo0415-Mar-09 15:13 
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 

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.