/// <summary>
		/// Wrap Explorer object to managed Explorer events.
		/// </summary>
		/// <param name="explorer">the outlook explorer to manage</param>
		private void WrapExplorer(Outlook.Explorer explorer)
		{
			if (_wrappedObjects.ContainsValue(explorer))
				return;

			var wrappedExplorer = new ExplorerWrapper(explorer);
			wrappedExplorer.Dispose += ExplorerWrapper_Dispose;
			wrappedExplorer.ViewSwitch += wrappedExplorer_ViewSwitch;
			wrappedExplorer.Close += wrappedExplorer_Close;
			_wrappedObjects[wrappedExplorer.Id] = explorer;

			AddGnuPGCommandBar(explorer);
		}
        /// <summary>
        /// Wrap Explorer object to managed Explorer events.
        /// </summary>
        /// <param name="explorer">the outlook explorer to manage</param>
        private void WrapExplorer(Outlook.Explorer explorer)
        {
            if (_WrappedObjects.ContainsValue(explorer) == true)
                return;

            ExplorerWrapper wrappedExplorer = new ExplorerWrapper(explorer);
            wrappedExplorer.Dispose += new OutlookWrapperDisposeDelegate(ExplorerWrapper_Dispose);
            wrappedExplorer.ViewSwitch += new ExplorerViewSwitchDelegate(wrappedExplorer_ViewSwitch);
            wrappedExplorer.SelectionChange += new ExplorerSelectionChangeDelegate(wrappedExplorer_SelectionChange);
            wrappedExplorer.Close += new ExplorerCloseDelegate(wrappedExplorer_Close);
            _WrappedObjects[wrappedExplorer.Id] = explorer;

            AddGnuPGCommandBar(explorer);
        }