Example #1
0
 private void CR_MarkerExtensionsPlugIn_OptionsChanged(OptionsChangedEventArgs e)
 {
     if (e.OptionsPages.Contains(typeof(Opt_MarkerExtensions)))
     {
         Opt_MarkerExtensions.LoadSettings(_settings);
     }
 }
Example #2
0
 // DXCore-generated code...
 #region InitializePlugIn
 public override void InitializePlugIn()
 {
     base.InitializePlugIn();
     Opt_MarkerExtensions.LoadSettings(_settings);
     this.Disposed += (sender, e) =>
     {
         if (_locatorBeacon != null)
         {
             _locatorBeacon.Dispose();
             _locatorBeacon = null;
         }
         if (_cornerBeacon != null)
         {
             _cornerBeacon.Dispose();
             _cornerBeacon = null;
         }
     };
 }