Click here to Skip to main content
15,895,709 members
Home / Discussions / C#
   

C#

 
Generalsnmp Pin
johnhill6-Sep-03 19:05
johnhill6-Sep-03 19:05 
GeneralA question...(?) Pin
Snyp6-Sep-03 16:00
Snyp6-Sep-03 16:00 
GeneralRe: A question...(?) Pin
theJazzyBrain7-Sep-03 3:49
theJazzyBrain7-Sep-03 3:49 
GeneralRe: A question...(?) Pin
Alvaro Mendez8-Sep-03 9:26
Alvaro Mendez8-Sep-03 9:26 
QuestionCheck if Remoting server is running? Pin
Bog6-Sep-03 12:35
Bog6-Sep-03 12:35 
AnswerRe: Check if Remoting server is running? Pin
Tatham6-Sep-03 19:31
Tatham6-Sep-03 19:31 
GeneralRe: Check if Remoting server is running? Pin
Bog7-Sep-03 8:16
Bog7-Sep-03 8:16 
GeneralAllowing a dialog to read data from the calling main form Pin
tsigo6-Sep-03 10:54
tsigo6-Sep-03 10:54 
I'm developing my first useful C# application, and I've come to quite a few points where I'm thinking "There has to be a better way to do this than what I'm doing", and this is one of those cases.

Often times when I load a dialog, I'll need information/objects from the main form in the new loaded dialog. Right now when I load a custom dialog from the main form, I do something like this:

CustomDialog dlgName = new CustomDialog();
dlgName.Loader = this;
dlgName.ShowDialog();
...


And then to access the main form's data in the CustomDialog example:

Loader.DataINeed;


Is there a special variable or other way I can access the main dialog's public objects from a new dialog without passing a reference to that main dialog's object?
GeneralRe: Allowing a dialog to read data from the calling main form Pin
Nick Parker6-Sep-03 11:32
protectorNick Parker6-Sep-03 11:32 
GeneralBindableListview and Column Sort Pin
zinzinlabine6-Sep-03 6:19
zinzinlabine6-Sep-03 6:19 
Generalnewline and label question Pin
gilstelzer6-Sep-03 5:59
gilstelzer6-Sep-03 5:59 
GeneralRe: newline and label question Pin
Mazdak6-Sep-03 8:16
Mazdak6-Sep-03 8:16 
Generalconverting web page into image Pin
andrew ryan6-Sep-03 0:03
andrew ryan6-Sep-03 0:03 
GeneralRe: converting web page into image Pin
Jasper4C#6-Sep-03 2:56
Jasper4C#6-Sep-03 2:56 
GeneralLDAP Pin
Salmanzz5-Sep-03 23:28
Salmanzz5-Sep-03 23:28 
Generalpassing value from modal dialog to an mid form Pin
Birdy5-Sep-03 20:13
Birdy5-Sep-03 20:13 
GeneralRe: passing value from modal dialog to an mid form Pin
Corinna John7-Sep-03 1:07
Corinna John7-Sep-03 1:07 
GeneralReference a MC++ class Pin
monrobot135-Sep-03 20:08
monrobot135-Sep-03 20:08 
GeneralRe: Reference a MC++ class Pin
leppie5-Sep-03 21:38
leppie5-Sep-03 21:38 
GeneralRe: Reference a MC++ class Pin
J. Dunlap5-Sep-03 21:40
J. Dunlap5-Sep-03 21:40 
GeneralRe: Reference a MC++ class Pin
leppie5-Sep-03 21:46
leppie5-Sep-03 21:46 
GeneralRe: Reference a MC++ class Pin
J. Dunlap5-Sep-03 21:50
J. Dunlap5-Sep-03 21:50 
GeneralRe: Reference a MC++ class Pin
monrobot137-Sep-03 11:16
monrobot137-Sep-03 11:16 
QuestionWhat version to buy Pin
cduced5-Sep-03 19:27
cduced5-Sep-03 19:27 
AnswerRe: What version to buy Pin
SimonS5-Sep-03 21:06
SimonS5-Sep-03 21:06 

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.