1
Answer

Mdi parent - Children relations

Irshad Ibrahim

Irshad Ibrahim

14y
5.4k
1
Can I access the MdiParent elements from its child being called?
ie:

parent :

public int a=0;

parent_Load()
{
child.MdiParent=this;
child.show();
}


Child :

button1_Click()
{
parent p=new parent();
p.a=1;
this.close();
}



but the problem is; when the focus returns to parent, the value of a remains the same(0).

pls help...
Answers (1)