11-01-2011, 02:10 AM | #1 |
Registered User
Join Date: Jul 2011
Posts: 262
|
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. |
04-18-2012, 06:10 AM | #2 |
Registered User
Join Date: Apr 2012
Location: USA-Florida
Posts: 11
|
Thank you for posting it is most useful to me.
|
04-19-2013, 03:21 AM | #3 |
Registered User
Join Date: Apr 2013
Posts: 58
|
thanks for sharing 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. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|