Click here to Skip to main content
15,907,687 members
Home / Discussions / C#
   

C#

 
GeneralRe: Japaneses fonts !!! Pin
AB777119-Dec-05 17:02
AB777119-Dec-05 17:02 
QuestionHow to reference a string from another class? Pin
ckruger18-Dec-05 22:20
ckruger18-Dec-05 22:20 
AnswerRe: How to reference a string from another class? Pin
Vikram A Punathambekar18-Dec-05 22:25
Vikram A Punathambekar18-Dec-05 22:25 
AnswerRe: How to reference a string from another class? Pin
Colin Angus Mackay18-Dec-05 22:35
Colin Angus Mackay18-Dec-05 22:35 
QuestionWhat protocol i have to adopt for reliable transmission? Pin
Rashid.Mahmood18-Dec-05 21:40
Rashid.Mahmood18-Dec-05 21:40 
AnswerRe: What protocol i have to adopt for reliable transmission? Pin
c#guy381119-Dec-05 7:31
c#guy381119-Dec-05 7:31 
AnswerRe: What protocol i have to adopt for reliable transmission? Pin
mcljava22-Dec-05 8:14
mcljava22-Dec-05 8:14 
QuestionC# app hosted in browser ? Pin
Christian Graus18-Dec-05 20:24
protectorChristian Graus18-Dec-05 20:24 
AnswerRe: C# app hosted in browser ? Pin
tarasn19-Dec-05 23:02
tarasn19-Dec-05 23:02 
QuestionTypecconverter for DataGrid and ListBox Pin
microsoc18-Dec-05 20:11
microsoc18-Dec-05 20:11 
Questionre-arrange items in a listbox or list view Pin
Agyeman18-Dec-05 19:47
Agyeman18-Dec-05 19:47 
Questioncommunication between c# and c++ through windows messaging Pin
Roy K18-Dec-05 19:39
Roy K18-Dec-05 19:39 
Questionbooks or websites for C# Pin
kal13na1318-Dec-05 18:55
kal13na1318-Dec-05 18:55 
AnswerRe: books or websites for C# Pin
enjoycrack18-Dec-05 18:58
enjoycrack18-Dec-05 18:58 
AnswerRe: books or websites for C# Pin
Drew McGhie19-Dec-05 7:48
Drew McGhie19-Dec-05 7:48 
QuestionXML--Reading Nodes.... Pin
Mahi.Ragava18-Dec-05 18:51
Mahi.Ragava18-Dec-05 18:51 
AnswerRe: XML--Reading Nodes.... Pin
Vikram A Punathambekar18-Dec-05 22:31
Vikram A Punathambekar18-Dec-05 22:31 
GeneralRe: XML--Reading Nodes.... Pin
Mahi.Ragava18-Dec-05 23:18
Mahi.Ragava18-Dec-05 23:18 
GeneralRe: XML--Reading Nodes.... Pin
S. Senthil Kumar19-Dec-05 0:04
S. Senthil Kumar19-Dec-05 0:04 
QuestionMDI parent and panels Pin
madhusri18-Dec-05 18:38
madhusri18-Dec-05 18:38 
AnswerRe: MDI parent and panels Pin
AETaylor18-Dec-05 19:28
AETaylor18-Dec-05 19:28 
GeneralRe: MDI parent and panels Pin
madhusri18-Dec-05 19:39
madhusri18-Dec-05 19:39 
GeneralRe: MDI parent and panels Pin
AETaylor18-Dec-05 19:45
AETaylor18-Dec-05 19:45 
GeneralRe: MDI parent and panels Pin
madhusri18-Dec-05 21:33
madhusri18-Dec-05 21:33 
GeneralRe: MDI parent and panels Pin
AETaylor19-Dec-05 19:15
AETaylor19-Dec-05 19:15 
If you only need to reference the main form from the sub-forms, then you could just set the Owner property after it is constructed.

ie from the main form:
NewSubForm form = new NewSubForm();<br />
form.Owner = this;<br />
form.Show();


...in the sub-form:
this.Owner.Text = "New Caption";

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.