Click here to Skip to main content
15,900,511 members
Home / Discussions / C#
   

C#

 
GeneralImage enlarging quality Pin
Kryal18-Sep-04 13:12
Kryal18-Sep-04 13:12 
GeneralRe: help in windows service Pin
Colin Angus Mackay18-Sep-04 15:25
Colin Angus Mackay18-Sep-04 15:25 
GeneralRe: help in windows service Pin
jacal9919-Sep-04 3:59
jacal9919-Sep-04 3:59 
GeneralRe: help in windows service Pin
Colin Angus Mackay19-Sep-04 4:08
Colin Angus Mackay19-Sep-04 4:08 
Generalmake setup Pin
fatidarya18-Sep-04 11:17
fatidarya18-Sep-04 11:17 
GeneralRe: make setup Pin
sreejith ss nair19-Sep-04 3:18
sreejith ss nair19-Sep-04 3:18 
GeneralMDIChild to MDIParent Pin
Finn Grimwood18-Sep-04 11:02
Finn Grimwood18-Sep-04 11:02 
GeneralRe: MDIChild to MDIParent Pin
Colin Angus Mackay18-Sep-04 15:38
Colin Angus Mackay18-Sep-04 15:38 
Forms have a property called MdiParent. When the form is being used as an MDI Child it is used to access the parent. You must cast the value returned to the correct class, unless all you are interested in is only the functionality exposed by .NET.

Assuming your parent form class is called MyForm, and the value is accessed through a property called SomeProperty the code might look something like this:
MyForm parent = (MyForm)this.MdiParent;
parent.SomeProperty = someValue;


Does this help?


"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell

Not getting the response you want from a question asked in an online forum: How to Ask Questions the Smart Way!


GeneralRe: MDIChild to MDIParent Pin
Finn Grimwood18-Sep-04 22:18
Finn Grimwood18-Sep-04 22:18 
Generallooking for a Component Pin
parnian honarmand18-Sep-04 10:08
parnian honarmand18-Sep-04 10:08 
GeneralRe: looking for a Component Pin
Alex Korchemniy19-Sep-04 12:23
Alex Korchemniy19-Sep-04 12:23 
Questionhowto read infos from *.url files ? Pin
Member 80267718-Sep-04 8:54
Member 80267718-Sep-04 8:54 
AnswerRe: howto read infos from *.url files ? Pin
Colin Angus Mackay18-Sep-04 15:51
Colin Angus Mackay18-Sep-04 15:51 
GeneralRe: howto read infos from *.url files ? Pin
Member 80267719-Sep-04 1:14
Member 80267719-Sep-04 1:14 
GeneralCopying richtext to Word Pin
RomanD18-Sep-04 8:29
RomanD18-Sep-04 8:29 
GeneralRe: Copying richtext to Word Pin
mav.northwind18-Sep-04 23:57
mav.northwind18-Sep-04 23:57 
QuestionWhich Pixel Was Clicked? Pin
Finn Grimwood18-Sep-04 8:10
Finn Grimwood18-Sep-04 8:10 
AnswerRe: Which Pixel Was Clicked? Pin
Charlie Williams18-Sep-04 9:20
Charlie Williams18-Sep-04 9:20 
GeneralRe: Which Pixel Was Clicked? Pin
Finn Grimwood18-Sep-04 10:32
Finn Grimwood18-Sep-04 10:32 
Questionhow to make a canvas for manipulating different bitmaps and shapes Pin
Sheraz Saeedy18-Sep-04 6:51
Sheraz Saeedy18-Sep-04 6:51 
Answernot the answer Pin
Colin Angus Mackay18-Sep-04 7:21
Colin Angus Mackay18-Sep-04 7:21 
GeneralRe: not the answer Pin
Charlie Williams18-Sep-04 9:23
Charlie Williams18-Sep-04 9:23 
GeneralRe: not the answer Pin
Sheraz Saeedy20-Sep-04 5:25
Sheraz Saeedy20-Sep-04 5:25 
GeneralRe: not the answer Pin
Colin Angus Mackay20-Sep-04 5:32
Colin Angus Mackay20-Sep-04 5:32 
GeneralRe: not the answer Pin
Sheraz Saeedy20-Sep-04 5:53
Sheraz Saeedy20-Sep-04 5:53 

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.