Click here to Skip to main content
15,891,033 members
Home / Discussions / C#
   

C#

 
AnswerRe: Read comma delimited .txt file with large number of data - do search in column A Pin
BillWoodruff18-Dec-13 11:18
professionalBillWoodruff18-Dec-13 11:18 
GeneralRe: Read comma delimited .txt file with large number of data - do search in column A Pin
lordoftrades18-Dec-13 11:22
lordoftrades18-Dec-13 11:22 
QuestionZoom in and Zoom out feature in a picturebox Pin
alfie.max1518-Dec-13 0:00
alfie.max1518-Dec-13 0:00 
AnswerRe: Zoom in and Zoom out feature in a picturebox Pin
Richard MacCutchan18-Dec-13 1:22
mveRichard MacCutchan18-Dec-13 1:22 
AnswerRe: Zoom in and Zoom out feature in a picturebox Pin
JV999918-Dec-13 1:22
professionalJV999918-Dec-13 1:22 
AnswerRe: Zoom in and Zoom out feature in a picturebox Pin
Snehasish_Nandy18-Dec-13 1:41
professionalSnehasish_Nandy18-Dec-13 1:41 
AnswerRe: Zoom in and Zoom out feature in a picturebox Pin
BillWoodruff18-Dec-13 3:25
professionalBillWoodruff18-Dec-13 3:25 
QuestionStuck on delegates / events Pin
Member 1036998617-Dec-13 6:19
Member 1036998617-Dec-13 6:19 
AnswerRe: Stuck on delegates / events Pin
Pete O'Hanlon17-Dec-13 6:38
mvePete O'Hanlon17-Dec-13 6:38 
GeneralRe: Stuck on delegates / events Pin
jxfdasilva17-Dec-13 6:54
jxfdasilva17-Dec-13 6:54 
GeneralRe: Stuck on delegates / events Pin
Pete O'Hanlon17-Dec-13 6:59
mvePete O'Hanlon17-Dec-13 6:59 
GeneralRe: Stuck on delegates / events Pin
jxfdasilva17-Dec-13 7:07
jxfdasilva17-Dec-13 7:07 
GeneralRe: Stuck on delegates / events Pin
Pete O'Hanlon17-Dec-13 7:33
mvePete O'Hanlon17-Dec-13 7:33 
GeneralRe: Stuck on delegates / events Pin
jxfdasilva17-Dec-13 7:42
jxfdasilva17-Dec-13 7:42 
GeneralRe: Stuck on delegates / events Pin
Pete O'Hanlon17-Dec-13 7:50
mvePete O'Hanlon17-Dec-13 7:50 
GeneralRe: Stuck on delegates / events Pin
Pete O'Hanlon17-Dec-13 7:54
mvePete O'Hanlon17-Dec-13 7:54 
GeneralRe: Stuck on delegates / events Pin
Richard Deeming17-Dec-13 8:28
mveRichard Deeming17-Dec-13 8:28 
GeneralRe: Stuck on delegates / events Pin
jxfdasilva17-Dec-13 8:28
jxfdasilva17-Dec-13 8:28 
AnswerRe: Stuck on delegates / events Pin
BillWoodruff17-Dec-13 9:52
professionalBillWoodruff17-Dec-13 9:52 
GeneralRe: Stuck on delegates / events Pin
jxfdasilva17-Dec-13 10:53
jxfdasilva17-Dec-13 10:53 
GeneralRe: Stuck on delegates / events Pin
BillWoodruff17-Dec-13 11:23
professionalBillWoodruff17-Dec-13 11:23 
GeneralRe: Stuck on delegates / events Pin
jxfdasilva17-Dec-13 13:21
jxfdasilva17-Dec-13 13:21 
GeneralRe: Stuck on delegates / events Pin
Freak3017-Dec-13 23:17
Freak3017-Dec-13 23:17 
I assume your problem is, that you send the NMEA sentences to a different instance of the NmeaInterpreter than you hooked up your event handler to.

- You should create only one NmeaInterpreter instance in Form1.
- Hook up your event handler there.
- Pass a reference of the NmeaInterpreter instance to Form2 either as constructor parameter or by using a property as already demonstrated by someone else.
- Then you can further adapt the settings and pass the NMEA sentences in Form two.
- Now you should receive the result in the event handler in Form1.

If that doesn't work, you could still consider storing the NMEA sentences in some List and passing them back to Form1. Then you can can send them to the NmeaInterpreter instance from Form1 and receive the result.
The good thing about pessimism is, that you are always either right or pleasently surprised.

AnswerRe: Stuck on delegates / events Pin
BillWoodruff17-Dec-13 11:40
professionalBillWoodruff17-Dec-13 11:40 
GeneralRe: Stuck on delegates / events Pin
jxfdasilva17-Dec-13 12:23
jxfdasilva17-Dec-13 12:23 

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.