/// <summary>
        /// Executes this instance.
        /// </summary>
        public void Execute()
        {
            // System.Windows.Forms.MessageBox.Show((ci == null).ToString());
            if (ci == null)
            {
                ci = new TrapImportUI();
                ci.OnCloseAddin += OnCloseUI;
            }

            ci.Open(_MPApp);
        }
 private void OnCloseUI(Object sender,EventArgs fcea)
 {
     ci = null;
      //      System.Windows.Forms.MessageBox.Show("closed");
 }
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (ci != null)
         {
             ci.Dispose();
             ci = null;
         }
     }
 }