Exemplo n.º 1
0
 public LicenseController() {
     OnCheckKey += new GotKeyHandle(BaseController_OnCheckKey);
 }
Exemplo n.º 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;
     }
 }