I´ve made a "main" class lets call it A(Veichle), and i have two classes that inherits from A Lets call them B(Car) and C(MC). i also have a handler lets call it "D" that binds A,B and C. Then i have the Form1 class lets call that E(Visual)
我想在列表框中的视觉形式“E”上打印出来自A的私人成员
如果我尝试ex)
这->;列表框1->;项目->;添加(X.veichles[i]->;getBrand());
它抱怨维奇尔斯是D的私人会员。
我该怎么避开它?