Click here to Skip to main content
15,903,203 members
Home / Discussions / C#
   

C#

 
GeneralFigured it Out [modified] Pin
Naji.A4-Jul-06 8:51
Naji.A4-Jul-06 8:51 
QuestionGet return value from one class to another Pin
Saamir28-Jun-06 11:04
Saamir28-Jun-06 11:04 
AnswerRe: Get return value from one class to another Pin
led mike28-Jun-06 11:22
led mike28-Jun-06 11:22 
AnswerRe: Get return value from one class to another Pin
Martin#28-Jun-06 11:26
Martin#28-Jun-06 11:26 
QuestionRe: Get return value from one class to another Pin
Saamir28-Jun-06 11:54
Saamir28-Jun-06 11:54 
AnswerRe: Get return value from one class to another Pin
Alexander Wiseman28-Jun-06 12:09
Alexander Wiseman28-Jun-06 12:09 
QuestionRe: Get return value from one class to another Pin
Saamir28-Jun-06 12:20
Saamir28-Jun-06 12:20 
QuestionRe: Get return value from one class to another Pin
Alexander Wiseman28-Jun-06 12:28
Alexander Wiseman28-Jun-06 12:28 
Sorry I must have misunderstood something. When you say that you still have a value of 0 for m_nSessionId, where in the code do mean this? Inside any code of Form2, you should be accessing SessionId, the public variable which you set equal to m_nSessionId before you call ShowDialog. Inside the load function (which I presume is on Form2), you should be accessing the SessionId variable, not m_nSessionId, which I thought belonged to Form1.

Could you clarify that, and maybe post the section of your Form2 loading code that tries to look at the session ID?

Sincerely,
Alexander Wiseman
QuestionRe: Get return value from one class to another Pin
Saamir28-Jun-06 16:20
Saamir28-Jun-06 16:20 
AnswerRe: Get return value from one class to another Pin
Alexander Wiseman28-Jun-06 16:30
Alexander Wiseman28-Jun-06 16:30 
QuestionRe: Get return value from one class to another [modified] Pin
Saamir28-Jun-06 16:32
Saamir28-Jun-06 16:32 
JokeRe: Get return value from one class to another Pin
Saamir28-Jun-06 16:40
Saamir28-Jun-06 16:40 
GeneralRe: Get return value from one class to another Pin
Alexander Wiseman28-Jun-06 16:48
Alexander Wiseman28-Jun-06 16:48 
AnswerRe: Get return value from one class to another Pin
Mike Poz28-Jun-06 12:12
Mike Poz28-Jun-06 12:12 
AnswerRe: Get return value from one class to another Pin
Rojan Gh.28-Jun-06 14:45
professionalRojan Gh.28-Jun-06 14:45 
Questionload a whole database into a DataSet Pin
hamidreza_buddy28-Jun-06 10:56
hamidreza_buddy28-Jun-06 10:56 
AnswerRe: load a whole database into a DataSet Pin
stancrm28-Jun-06 20:26
stancrm28-Jun-06 20:26 
QuestionXMLSerialize and Microsoft Controls Pin
3Dizard28-Jun-06 10:14
3Dizard28-Jun-06 10:14 
AnswerRe: XMLSerialize and Microsoft Controls Pin
BoneSoft28-Jun-06 10:55
BoneSoft28-Jun-06 10:55 
QuestionHelp with UserControl State Save and Restore Pin
TheBlindWatchmaker28-Jun-06 9:04
TheBlindWatchmaker28-Jun-06 9:04 
AnswerRe: Help with UserControl State Save and Restore [modified] Pin
Martin#28-Jun-06 9:59
Martin#28-Jun-06 9:59 
QuestionDatagridview.selectedValue help? Pin
PyroManiak28-Jun-06 8:38
PyroManiak28-Jun-06 8:38 
AnswerRe: Datagridview.selectedValue help? Pin
Mairaaj Khan28-Jun-06 20:11
professionalMairaaj Khan28-Jun-06 20:11 
GeneralRe: Datagridview.selectedValue help? Pin
PyroManiak29-Jun-06 10:51
PyroManiak29-Jun-06 10:51 
QuestionRegular expression Pin
NaNg1524128-Jun-06 8:36
NaNg1524128-Jun-06 8:36 

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.