Click here to Skip to main content
15,899,754 members
Home / Discussions / C#
   

C#

 
GeneralRe: Bitwise operators on non byte primitives Pin
Jonathan Tan6-Sep-02 23:22
Jonathan Tan6-Sep-02 23:22 
GeneralNeed help with sql insert statement in C# Pin
halbichmi6-Sep-02 6:10
halbichmi6-Sep-02 6:10 
GeneralRe: Need help with sql insert statement in C# Pin
leppie6-Sep-02 7:20
leppie6-Sep-02 7:20 
GeneralRe: Need help with sql insert statement in C# Pin
SimonS6-Sep-02 19:16
SimonS6-Sep-02 19:16 
GeneralRe: Need help with sql insert statement in C# Pin
halbichmi7-Sep-02 3:45
halbichmi7-Sep-02 3:45 
GeneralRecreate My Network Place Pin
D Shen6-Sep-02 3:40
D Shen6-Sep-02 3:40 
GeneralRe: Recreate My Network Place Pin
Ryan Cromwell6-Sep-02 6:00
Ryan Cromwell6-Sep-02 6:00 
GeneralEasy:reference values after dialog show Pin
EdgarBM5-Sep-02 23:57
EdgarBM5-Sep-02 23:57 
Hi,
I think my problem is easy to solve, but I'm giving too much time while I can solve it in other ways (uglier ones...).
That's it:
I've got a form which instantiates a simple form to get a user & pwd. When the Show method is finished I would like to get the values of the strings (properties) in the calling form. I can do it creating two public strings at the called form which are initialized to the Edit Controls value and read by the calling form when the Show method finishes.
It's a simple solution, but I want a better one:
Is it possible to pass the reference of the local strings to the constructor of the called form so when the Show method finishes the calling form already has the initialized values?

I also tried to use Marshal interface and IntPtr, but the solution became uglier by moments...

Does anyone know how to manage it?, is it possible?, maybe is there any similar solution which save me to create to public strings in the called form?

Thank you in advance,
Edgar



__________________________________________
Edgar Berengena Moreno
Software Engineer
Appeyron Research

GeneralRe: Easy:reference values after dialog show Pin
Stephane Rodriguez.6-Sep-02 0:26
Stephane Rodriguez.6-Sep-02 0:26 
Questionhow to specify the handle for findfirstfile, etc? Pin
Segal5-Sep-02 20:35
Segal5-Sep-02 20:35 
AnswerRe: how to specify the handle for findfirstfile, etc? Pin
Stephane Rodriguez.5-Sep-02 21:06
Stephane Rodriguez.5-Sep-02 21:06 
GeneralRe: how to specify the handle for findfirstfile, etc? Pin
Anonymous5-Sep-02 21:16
Anonymous5-Sep-02 21:16 
GeneralRe: how to specify the handle for findfirstfile, etc? Pin
Stephane Rodriguez.5-Sep-02 21:20
Stephane Rodriguez.5-Sep-02 21:20 
AnswerRe: how to specify the handle for findfirstfile, etc? Pin
leppie5-Sep-02 23:55
leppie5-Sep-02 23:55 
GeneralOpinion Wanted: XML Component Pin
Fredrick P. Lackey5-Sep-02 16:51
sussFredrick P. Lackey5-Sep-02 16:51 
GeneralRe: Opinion Wanted: XML Component Pin
Stephane Rodriguez.5-Sep-02 20:38
Stephane Rodriguez.5-Sep-02 20:38 
GeneralRe: Opinion Wanted: XML Component Pin
Anonymous6-Sep-02 2:55
Anonymous6-Sep-02 2:55 
GeneralRe: Opinion Wanted: XML Component Pin
Stephane Rodriguez.6-Sep-02 3:17
Stephane Rodriguez.6-Sep-02 3:17 
GeneralFloppy Disk Image Pin
TeraCoder5-Sep-02 15:28
TeraCoder5-Sep-02 15:28 
GeneralSerial Port Pin
Sanjeev Kumar5-Sep-02 11:33
Sanjeev Kumar5-Sep-02 11:33 
GeneralRe: Serial Port Pin
James McCutcheon5-Sep-02 13:45
James McCutcheon5-Sep-02 13:45 
GeneralRe: Serial Port Pin
Sanjeev Kumar6-Sep-02 7:45
Sanjeev Kumar6-Sep-02 7:45 
GeneralRe: Serial Port Pin
bfarley9-Sep-02 7:30
bfarley9-Sep-02 7:30 
GeneralA files icon Pin
Nnamdi Onyeyiri5-Sep-02 7:19
Nnamdi Onyeyiri5-Sep-02 7:19 
GeneralRe: A files icon Pin
Not Active5-Sep-02 8:15
mentorNot Active5-Sep-02 8:15 

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.