S
stephan
How to solve the problem of the accessibility of members among files( .h or
..cpp )
in __gc classes?
Ex :
// AA.h file
public __gc class AA : UserControl
{
/* snip */
};
// BB.h file
public __gc class BB : UserControl
{
access-specifier int _b ;
/* snip */
};
AA can access _b of BB and all the classes can't except AA.
I can do it using "friend" if not __gc class.
How to do it on __gc class?
BTW, what is the reason that MS has removed "friend" in __gc class?
Thank.
..cpp )
in __gc classes?
Ex :
// AA.h file
public __gc class AA : UserControl
{
/* snip */
};
// BB.h file
public __gc class BB : UserControl
{
access-specifier int _b ;
/* snip */
};
AA can access _b of BB and all the classes can't except AA.
I can do it using "friend" if not __gc class.
How to do it on __gc class?
BTW, what is the reason that MS has removed "friend" in __gc class?
Thank.