Click here to Skip to main content
15,899,679 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
Iam developing a small project. With my project Iam accessing the child form inside my MDIContainer like the below manner

And Form_Main (MdiContainer) is having the control toolStrip1
toolStrip1 contains toolStripDropDownButton2

MDIContainer code :-
Form_Child1 ChqReq = Form_Child1.GetForm(true, this);
ChqReq.FormBorderStyle = FormBorderStyle.None;
ChqReq.Dock = DockStyle.Fill;
ChqReq.Show();

So that the control is focused to Form_Child1...
Now Iam trying to change the Form_Main toolStripDropDownButton2.Text....
Is it possible?
Thanks
Posted
Comments
Herman<T>.Instance 7-Aug-14 5:25am    
if you set it to public in stead of private

i think this will help you

C#
this.parent.toolStripDropDownButton2.Text = "bla bla bla"
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900