Click here to Skip to main content
15,882,725 members
Home / Discussions / C#
   

C#

 
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 
Greetings BillWoodruff,

Thanks for the reply. I am learning.

The question here is slightly different than is proposed.

Please See:

I have a class : public class NmeaInterpreter (well known);

I have a Form2() : where dealing with Serial Ports , and sending NMEA sentences from the GPS module to the class NmeaInterpreter ;

Now I have the main Form1() : where I should get the values (Lat, Longit, North, South, etc.), in TextBoxs ;

How it works:

1. After configuring the Serial Ports, I go out/hide the Form2(Serial Port) , and return to Form1 (main)

2. In main - Form1() - , I should receive sentences formatted sentences in the TextBox .

- Problems:

a) If I create in the Form2(Serial Port), a TextBox to test, I can easily receive, for example " Latitude ", etc.

b) But in Form1(main), where I should deal with events, I cannot do this (and I should receive direct formatted sentences from Class NmeaInterpreter).

Through the "Step Into", I noticed that I get the values in the constructor - public Form1() - but then leaves without sweeping methods. This is what the problem is!

c ) Why it works on Form2(Serial Ports ) and not on Form1(main)?

d ) Any error in the structure built ?

Well, I would like to thank the patience and your support

Jose
GeneralRe: Stuck on delegates / events Pin
Freak3017-Dec-13 23:17
Freak3017-Dec-13 23:17 
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 
GeneralRe: Stuck on delegates / events Pin
BillWoodruff17-Dec-13 13:10
professionalBillWoodruff17-Dec-13 13:10 
AnswerRe: Stuck on delegates / events Pin
V.17-Dec-13 22:37
professionalV.17-Dec-13 22:37 
GeneralRe: Stuck on delegates / events Pin
jxfdasilva17-Dec-13 22:53
jxfdasilva17-Dec-13 22:53 
GeneralRe: Stuck on delegates / events Pin
V.17-Dec-13 23:09
professionalV.17-Dec-13 23:09 
GeneralRe: Stuck on delegates / events Pin
jxfdasilva18-Dec-13 0:51
jxfdasilva18-Dec-13 0:51 
AnswerRe: Stuck on delegates / events Pin
jxfdasilva18-Dec-13 9:10
jxfdasilva18-Dec-13 9:10 
Questionmenu strip in right side Pin
An@nd Rajan1016-Dec-13 20:14
professionalAn@nd Rajan1016-Dec-13 20:14 
AnswerRe: menu strip in right side Pin
Mycroft Holmes16-Dec-13 20:56
professionalMycroft Holmes16-Dec-13 20:56 
GeneralRe: menu strip in right side Pin
An@nd Rajan1016-Dec-13 21:01
professionalAn@nd Rajan1016-Dec-13 21:01 
AnswerRe: menu strip in right side Pin
lukeer16-Dec-13 21:19
lukeer16-Dec-13 21:19 
AnswerRe: menu strip in right side Pin
HobbyProggy17-Dec-13 4:59
professionalHobbyProggy17-Dec-13 4:59 
QuestionDesign pattern Pin
jeenamary16-Dec-13 19:33
jeenamary16-Dec-13 19:33 
JokeRe: Design pattern Pin
Mycroft Holmes16-Dec-13 20:54
professionalMycroft Holmes16-Dec-13 20:54 
AnswerRe: Design pattern Pin
Marco Bertschi17-Dec-13 0:09
protectorMarco Bertschi17-Dec-13 0: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.