check the call to a method in VB.NET
Im using VB.NET at the moment, and i have 2 classes Employee and RestrictedEmployee and the Employee class has a method called, changePin().
As you may have guessed RestrictedEmployee class inherits from Employee.
The problem I am having is that a RestrictedEmployee is not allowed to change their pin, so i need to return false if the call to the method is done from the RestrictedEmployee class...
How do i do this?
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|