![]() |
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? |
Thank you for posting it is most useful to me.
|
thanks for sharing this.........
|
All times are GMT -7. The time now is 05:20 AM. |
Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.