![]() |
|
|||||||
| General Programming General NinjaScript programming questions. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Apr 2006
Location: , ,
Posts: 1,316
Thanks: 1
Thanked 7 times in 7 posts
|
I was reading Best Practices in 6.5 help and noticed the following.
Example License Check protected override void OnBarUpdate() { // Make sure that your license check is performed once and maintains the check state if (!IsValidLicense()) return; } I tried it and got a compile error "The name IsValidLicense does not exist in the current context". Am I using it incorrectly? I currently use VendorLicense(); in my Initialize method which works fine. Should I also be using IsValidLicense in my OnBarupdate method? |
|
|
|
| Thread Tools | |
| Display Modes | |
|
|