Sunday 15 June 2014

c# - accessing tabcontrol from myclass.cs -


Why can not I use tabcontrol from within myclass.cs?

Tabcontrol is in form1.Cs and my code which tries to create a new tab page in myclass.cs I have also tried to install tabbed property publicly but it is not working is.

just

once you do this and you have Form myform = new form ();

You will be able to:

/ P>

myForm.myTAB.TabPages.Add (myTabPage);

(You will definitely have to create tab page.


No comments:

Post a Comment