private void ShowCombinedView_Click(object sender, EventArgs e) { string[] Filter = UserSettings.GetCombinedSyncFilter(UniqueIdToCategory, GlobalControl.GetView(), GetExcludedCategories(GlobalControl.CategoriesCheckList, GlobalExcludedCategories), WorkspaceControl.GetView(), GetExcludedCategories(WorkspaceControl.CategoriesCheckList, WorkspaceExcludedCategories)); if (Filter.Length == 0) { Filter = new string[] { "All files will be synced." }; } MessageBox.Show(String.Join("\r\n", Filter), "Combined View"); }
private void ShowCombinedView_Click(object sender, EventArgs e) { Dictionary <Guid, bool> NewGlobalSyncCategories; Dictionary <Guid, bool> NewWorkspaceSyncCategories; GetExcludedCategories(out NewGlobalSyncCategories, out NewWorkspaceSyncCategories); string[] Filter = UserSettings.GetCombinedSyncFilter(UniqueIdToCategory, GlobalControl.GetView(), NewGlobalSyncCategories, WorkspaceControl.GetView(), NewWorkspaceSyncCategories); if (Filter.Length == 0) { Filter = new string[] { "All files will be synced." }; } MessageBox.Show(String.Join("\r\n", Filter), "Combined View"); }