Beispiel #1
0
 public SensLogonInterop()
 {
     registered = false;
     EventSystemRegistrar.SubscribeToEvents(SubscriptionViewerDesc, SubscriptionViewerName,
                                            SubscriptionViewerID, this, typeof(ISensLogon));
     registered = true;
 }
Beispiel #2
0
 private void Deactivate()
 {
     if (registered)
     {
         EventSystemRegistrar.UnsubscribeToEvents(SubscriptionViewerID);
         registered = false;
     }
 }