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

C#

 
GeneralRe: HTML to MS Word or RTF Pin
Nadia Monalisa7-Sep-06 9:47
Nadia Monalisa7-Sep-06 9:47 
GeneralRe: HTML to MS Word or RTF Pin
Ed.Poore7-Sep-06 11:00
Ed.Poore7-Sep-06 11:00 
QuestionGloooooooble Variables Pin
Syed Shahid Hussain6-Sep-06 8:23
Syed Shahid Hussain6-Sep-06 8:23 
AnswerRe: Gloooooooble Variables Pin
Nadia Monalisa6-Sep-06 8:36
Nadia Monalisa6-Sep-06 8:36 
GeneralRe: Gloooooooble Variables Pin
Syed Shahid Hussain6-Sep-06 9:09
Syed Shahid Hussain6-Sep-06 9:09 
AnswerRe: Gloooooooble Variables Pin
Nader Elshehabi6-Sep-06 8:40
Nader Elshehabi6-Sep-06 8:40 
GeneralRe: Gloooooooble Variables Pin
Syed Shahid Hussain6-Sep-06 9:02
Syed Shahid Hussain6-Sep-06 9:02 
GeneralRe: Gloooooooble Variables Pin
Nader Elshehabi6-Sep-06 9:30
Nader Elshehabi6-Sep-06 9:30 
Hello Syed.
Thank you for your gentle and kind reply.Big Grin | :-D

About my suggestion -though I prefer greeg's one- forgive me if I wasn't clear about my idea. Here is a code to demostrate it:

class MyMDIParentForm : Form
{
    //Class code here

    private string MyPrivateVariable;
    public string MyPublicProperty
    {
        set {MyPrivateVariable = value;}
        get {return MyPrivateVariable;}
    }

    public void ShowChild()
    {
        MDIChild MyChild = new MDIChild();
        MyChild.Parent = this;
        MyChild.Show();
    }   
}

class MDIChild : Form
{
    //Class code here

    public void ChangeProperty()
    {
        ((MyMDIParentForm)Parent).MyPublicProperty = "Hello World!";
    }
}


RegardsRose | [Rose]

GeneralRe: Gloooooooble Variables Pin
Syed Shahid Hussain7-Sep-06 10:05
Syed Shahid Hussain7-Sep-06 10:05 
AnswerRe: Gloooooooble Variables Pin
User 66586-Sep-06 8:42
User 66586-Sep-06 8:42 
GeneralRe: Gloooooooble Variables Pin
Syed Shahid Hussain6-Sep-06 8:54
Syed Shahid Hussain6-Sep-06 8:54 
GeneralRe: Gloooooooble Variables Pin
User 66586-Sep-06 9:01
User 66586-Sep-06 9:01 
GeneralRe: Gloooooooble Variables Pin
Syed Shahid Hussain6-Sep-06 9:07
Syed Shahid Hussain6-Sep-06 9:07 
GeneralRe: Gloooooooble Variables Pin
Nadia Monalisa7-Sep-06 6:40
Nadia Monalisa7-Sep-06 6:40 
AnswerRe: Gloooooooble Variables Pin
Guffa6-Sep-06 8:44
Guffa6-Sep-06 8:44 
GeneralRe: Gloooooooble Variables Pin
Syed Shahid Hussain6-Sep-06 8:59
Syed Shahid Hussain6-Sep-06 8:59 
QuestionCrystal Reports Help Pin
Syed Shahid Hussain6-Sep-06 8:17
Syed Shahid Hussain6-Sep-06 8:17 
AnswerRe: Crystal Reports Help Pin
Nader Elshehabi6-Sep-06 8:45
Nader Elshehabi6-Sep-06 8:45 
GeneralRe: Crystal Reports Help Pin
Syed Shahid Hussain6-Sep-06 9:13
Syed Shahid Hussain6-Sep-06 9:13 
QuestionStatic class with static member and memory allocation Pin
Herhighness6-Sep-06 6:36
Herhighness6-Sep-06 6:36 
AnswerRe: Static class with static member and memory allocation Pin
Jun Du6-Sep-06 7:07
Jun Du6-Sep-06 7:07 
QuestionError message in c# .Net Pin
fady_sayegh6-Sep-06 6:23
fady_sayegh6-Sep-06 6:23 
QuestionVS7 - XSD text editor - IntelliSense (autofill) [modified] Pin
El'Cachubrey6-Sep-06 5:55
El'Cachubrey6-Sep-06 5:55 
QuestionHelp a noob C++ user with C# (union and bitfields) Pin
NYTSX6-Sep-06 5:36
NYTSX6-Sep-06 5:36 
AnswerRe: Help a noob C++ user with C# (union and bitfields) Pin
led mike6-Sep-06 6:37
led mike6-Sep-06 6:37 

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.