TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
harish reddy
NA
11
1.6k
Variables not accessible by Child class from base class
Aug 22 2020 6:39 AM
Pls see the attached snap for pictures and problem.
Kindly guide.
namespace
GTAC_Examples
{
public
class
Calling_Methods
{
public
static
Session thissession = Session.GetSession();
Component root = workPart.ComponentAssembly.RootComponent;
public
static
void
Main()
{
Xxxxx
}
namespace
DrawingPractice
{
class
Designing_Methods: Calling_Methods
{
thissession -> not coming
root -> not coming?
}
but both the Classes are from the same Project. I am unable to access the variables “thissession” and “root” in the derived class even though I gave base class reference in derived class.. Pls guide.h the Classes are from the same Project. I am unable to access the variables “thissession” and “root” in the derived class even though I gave base class reference in derived class.. Pls guide.
Both the Classes are from the same Project. I am unable to access the variables “thissession” and “root” in
Both the Classes are from the same Project. I am unable to access the variables “thissession” and “root” in the derived class eventhough I gave base class reference in derived class.. Pls guide.
the derived class eventhough I gave base class reference in derived class.. Pls guide.
Attachment:
Capture.zip
Reply
Answers (
2
)
How to check for empty GUID
how select ed all month through save one parameter in c# desktop appli