private void NewButton_Click(object sender, RoutedEventArgs e)
        {
            SiteSetting siteSetting = new SiteSetting();

            siteSetting.ID = Guid.NewGuid();
            SiteSettingForm siteSettingForm = new SiteSettingForm();

            siteSettingForm.BindControls(siteSetting);
            if (siteSettingForm.ShowDialog(this.ParentWindow, Languages.Translate("Site Settings")) == true)
            {
                Configuration.SiteSettings.Add(siteSetting);
                ExplorerLocation explorerLocation = new ExplorerLocation();
                explorerLocation.ID = Guid.NewGuid();
                explorerLocation.ApplicationTypes.Add(ApplicationTypes.Excel);
                explorerLocation.ApplicationTypes.Add(ApplicationTypes.Outlook);
                explorerLocation.ApplicationTypes.Add(ApplicationTypes.Word);
                explorerLocation.ApplicationTypes.Add(ApplicationTypes.General);
                explorerLocation.ShowAll               = true;
                explorerLocation.SiteSettingID         = siteSetting.ID;
                explorerLocation.Folder                = ApplicationContext.Current.GetRootFolder(siteSetting);
                explorerLocation.Folder.Selected       = true;
                explorerLocation.BasicFolderDefinition = explorerLocation.Folder.GetBasicFolderDefinition();
                Configuration.ExplorerConfiguration.ExplorerLocations.Add(explorerLocation);
                LoadSites();
                RefreshExplorerLocationsListBox();
            }
        }
        private void SitesListBox_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            SiteSetting     siteSetting     = (SiteSetting)SitesListBox.SelectedItem;
            SiteSettingForm siteSettingForm = new SiteSettingForm();

            siteSettingForm.BindControls(siteSetting);
            if (siteSettingForm.ShowDialog(this.ParentWindow, "Site Setting") == true)
            {
                LoadSites();
            }
        }