Results 1 to 2 of 2

Thread: [RESOLVED] [2.0] Access MdiParent's variable

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 2006
    Location
    Taiwan
    Posts
    37

    Resolved [RESOLVED] [2.0] Access MdiParent's variable

    Suppose i have an Mdi ..
    this Main1 act as the MdiParent..
    HTML Code:
    public partial class Main1 : Form
    {
                 public int a = 1;
                 Form1 form1 = new Form1();
                 ....
    }
    now, from the child (form1) , i need to change the variable of "a".
    i know that this is simple, but i've been trying and get zero results.
    Can anybody give a real code ?

  2. #2

    Thread Starter
    Member
    Join Date
    Jul 2006
    Location
    Taiwan
    Posts
    37

    Re: [2.0] Access MdiParent's variable

    ok..
    after searching by myself, i can solve this by reading jmillchey's post.
    no need reply anymore..
    thx.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width