Example #1
0
 public LicenseController() {
     OnCheckKey += new GotKeyHandle(BaseController_OnCheckKey);
 }
Example #2
0
 public void Register() {
     GotKeyHandle handle = new GotKeyHandle(GotKey);
     OnGotKey += handle;
     try {
         RegisterOverForm();
     }
     catch (Exception ex) {
         Messenger.ShowError(MsgsBase.Res.Error_registering_N, ex);
     }
     finally {
         OnGotKey -= handle;
     }
 }