ATI user
11-07-2007, 04:30 AM
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?
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?