Example #1
0
        public void RemoveSmartFolder()
        {
            var smartFolder = SelectedSmartFolder;

            if (smartFolder != null)
            {
                if (!MessageUtil.ConfirmSmartFolderRemoval(smartFolder))
                {
                    return;
                }
                _tree.BeginUpdate();
                _facade.Workspace.RemoveSmartFolder(smartFolder);
                _tree.EndUpdate();
            }
        }