private void SelectFolder()
        {
            var folder = _optionTasks.PickFolderOrNull();

            if (folder != null)
            {
                UpdateFolder(folder);
                UpdateFolderAccountName();
            }

            _faultFinder.FixTimeRangeUsage(OutlookFolderType);

            if (OutlookFolderType == OlItemType.olContactItem)
            {
                MessageBox.Show(
                    "The contact synchronization is still in development and doesn't support contact groups/distribution lists at the moment!",
                    ComponentContainer.MessageBoxTitle,
                    MessageBoxButton.OK,
                    MessageBoxImage.Warning);
            }
        }
        private void SelectFolder()
        {
            var folder = _session.PickFolder();

            if (folder != null)
            {
                using (var folderWrapper = GenericComObjectWrapper.Create(folder))
                {
                    UpdateFolder(folderWrapper.Inner);
                }
            }

            _faultFinder.FixTimeRangeUsage(_folderType);

            if (_folderType == OlItemType.olContactItem)
            {
                MessageBox.Show(
                    "The contact synchronization is still in development and doesn't support contact groups/distribution lists at the moment!",
                    "CalDav Synchronizer",
                    MessageBoxButtons.OK,
                    MessageBoxIcon.Warning);
            }
        }