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

C#

 
AnswerRe: Problem with custom config sections Pin
PicklesTheClown28-Feb-06 13:17
PicklesTheClown28-Feb-06 13:17 
QuestionPassing data from a form??? Pin
richiemac28-Feb-06 6:08
richiemac28-Feb-06 6:08 
AnswerRe: Passing data from a form??? Pin
Le centriste28-Feb-06 6:37
Le centriste28-Feb-06 6:37 
GeneralRe: Thanks dude! Pin
richiemac28-Feb-06 6:57
richiemac28-Feb-06 6:57 
GeneralMy pleasure! Pin
Le centriste28-Feb-06 7:29
Le centriste28-Feb-06 7:29 
GeneralRe: Passing data from a form??? Pin
Lyle M1-Mar-06 11:39
Lyle M1-Mar-06 11:39 
GeneralRe: Passing data from a form??? Pin
Le centriste1-Mar-06 12:17
Le centriste1-Mar-06 12:17 
AnswerRe: Passing data from a form??? Pin
Robin Panther28-Feb-06 16:00
Robin Panther28-Feb-06 16:00 
If you want to send some data to another object - you have to have reference to this object. In your case this means that your myForm should have reference to base form. something like this:
call the form using myForm.Show(this) or set myForm.Owner = this just befor calling.
Then, on button clicks, you could do something like this:
((OwnerForm)Owner).OkButtonIsClicked();
You could get values of textboxes of myForm if their modifiers are internal or public, but
yYou could do it only if OwnerForm has reference to myForm, if not - you can invoke not OkButonIsClicked(), but OkButtonIsClicked(textBox1.Text, textBox2.Text, etc);

____________________________________________
Robin Panther http://www.robinland.com
GeneralRe: Passing data from a form??? Pin
Le centriste1-Mar-06 1:45
Le centriste1-Mar-06 1:45 
QuestionHow to display fraction Pin
subir12328-Feb-06 6:07
subir12328-Feb-06 6:07 
AnswerRe: How to display fraction Pin
Elfreda28-Feb-06 6:46
Elfreda28-Feb-06 6:46 
AnswerRe: How to display fraction Pin
Judah Gabriel Himango28-Feb-06 6:47
sponsorJudah Gabriel Himango28-Feb-06 6:47 
GeneralRe: How to display fraction Pin
subir12328-Feb-06 8:20
subir12328-Feb-06 8:20 
GeneralRe: How to display fraction Pin
Judah Gabriel Himango28-Feb-06 9:22
sponsorJudah Gabriel Himango28-Feb-06 9:22 
QuestionObject inheritens Pin
NaNg1524128-Feb-06 5:22
NaNg1524128-Feb-06 5:22 
AnswerRe: Object inheritens Pin
CWIZO28-Feb-06 5:34
CWIZO28-Feb-06 5:34 
QuestionRegistry Pin
superPaul10128-Feb-06 4:41
superPaul10128-Feb-06 4:41 
AnswerRe: Registry Pin
Judah Gabriel Himango28-Feb-06 5:55
sponsorJudah Gabriel Himango28-Feb-06 5:55 
GeneralRe: Registry Pin
superPaul10128-Feb-06 6:12
superPaul10128-Feb-06 6:12 
Questionneed help for dropdown list Pin
kamlakar28-Feb-06 4:32
kamlakar28-Feb-06 4:32 
QuestionReading INI files in C# Pin
Spykraft28-Feb-06 4:22
Spykraft28-Feb-06 4:22 
AnswerRe: Reading INI files in C# Pin
Andy Brummer28-Feb-06 5:05
sitebuilderAndy Brummer28-Feb-06 5:05 
Questionstoring image-out of memory error Pin
leelaraj28-Feb-06 2:48
leelaraj28-Feb-06 2:48 
AnswerRe: storing image-out of memory error Pin
mav.northwind28-Feb-06 2:53
mav.northwind28-Feb-06 2:53 
AnswerSimple Pin
Vikram A Punathambekar28-Feb-06 4:12
Vikram A Punathambekar28-Feb-06 4:12 

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.