Click here to Skip to main content
15,914,642 members
Home / Discussions / C#
   

C#

 
GeneralRe: Focus in ToolStripControlHost after validating cancelled Pin
acolight17-Mar-11 10:27
acolight17-Mar-11 10:27 
Question[Message Deleted] Pin
hkjghkj124-May-09 4:03
hkjghkj124-May-09 4:03 
AnswerRe: DataGridView and mdb Pin
Manas Bhardwaj24-May-09 4:20
professionalManas Bhardwaj24-May-09 4:20 
QuestionKeyPress Event Pin
Saiyed Alam24-May-09 0:58
Saiyed Alam24-May-09 0:58 
AnswerRe: KeyPress Event Pin
DaveyM6924-May-09 1:22
professionalDaveyM6924-May-09 1:22 
GeneralRe: KeyPress Event Pin
Saiyed Alam24-May-09 16:37
Saiyed Alam24-May-09 16:37 
Questionsearch in site Pin
michaelgr124-May-09 0:42
michaelgr124-May-09 0:42 
AnswerRe: search in site Pin
Manas Bhardwaj24-May-09 0:57
professionalManas Bhardwaj24-May-09 0:57 
GeneralRe: search in site Pin
michaelgr124-May-09 0:58
michaelgr124-May-09 0:58 
GeneralRe: search in site Pin
Manas Bhardwaj24-May-09 1:18
professionalManas Bhardwaj24-May-09 1:18 
GeneralRe: search in site Pin
michaelgr124-May-09 1:31
michaelgr124-May-09 1:31 
QuestionRefresh Datagrid Pin
KIDYA23-May-09 23:20
KIDYA23-May-09 23:20 
QuestionCalling Method of an Active Form from the MDI Parent Pin
uygarer23-May-09 23:13
uygarer23-May-09 23:13 
AnswerRe: Calling Method of an Active Form from the MDI Parent Pin
Moreno Airoldi24-May-09 0:12
Moreno Airoldi24-May-09 0:12 
Not sure which exactly is your problem, but you can do it this way:

1) In the child form, the DoJob() method must be either public or internal (in order to enable access from the parent form).

2) In your parent form you can do something like:

C#
ChildForm cf = (ChildForm)this.ActiveMdiChild;
cf.DoJob();


where ChildForm is your child form's class name.

2+2=5 for very large amounts of 2
(always loved that one hehe!)

AnswerRe: Calling Method of an Active Form from the MDI Parent Pin
DaveyM6924-May-09 0:25
professionalDaveyM6924-May-09 0:25 
QuestionFunction Caller Pin
Saiyed Alam23-May-09 22:56
Saiyed Alam23-May-09 22:56 
AnswerRe: Function Caller Pin
DaveyM6923-May-09 23:02
professionalDaveyM6923-May-09 23:02 
GeneralRe: Function Caller Pin
Mycroft Holmes23-May-09 23:38
professionalMycroft Holmes23-May-09 23:38 
GeneralRe: Function Caller Pin
DaveyM6924-May-09 0:05
professionalDaveyM6924-May-09 0:05 
GeneralRe: Function Caller Pin
Daniel Grunwald24-May-09 4:32
Daniel Grunwald24-May-09 4:32 
AnswerRe: Function Caller Pin
Mycroft Holmes23-May-09 23:35
professionalMycroft Holmes23-May-09 23:35 
Questiondownload at internet bandwith with c# Pin
Abdul Rahman Hamidy23-May-09 22:26
Abdul Rahman Hamidy23-May-09 22:26 
Question[Message Deleted] Pin
hkjghkj123-May-09 21:28
hkjghkj123-May-09 21:28 
AnswerRe: filter Pin
Eddy Vluggen23-May-09 21:51
professionalEddy Vluggen23-May-09 21:51 
General[Message Deleted] Pin
hkjghkj123-May-09 23:34
hkjghkj123-May-09 23:34 

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.