Beispiel #1
0
 public void SetupDialog()
 {
     if (HasSetupDialog)
     {
         try {
             bool dispose = false;
             if (_focuser == null)
             {
                 _focuser = GetFocuser(false);
                 dispose  = true;
             }
             _focuser.SetupDialog();
             if (dispose)
             {
                 _focuser.Dispose();
                 _focuser = null;
             }
         } catch (Exception ex) {
             Logger.Error(ex);
             Notification.ShowError(ex.Message);
         }
     }
 }
Beispiel #2
0
 public void Dispose()
 {
     _focuser?.Dispose();
 }