Exemplo n.º 1
0
 private void checkForErrorsLoadingPropertiesOnFolderToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (this.CurrentService != null)
     {
         //CheckFolderItemsForPropertyLoadingIssues oCheckFolderItemsForPropertyLoadingIssues = new CheckFolderItemsForPropertyLoadingIssues();
         //oCheckFolderItemsForPropertyLoadingIssues.Show();
         CheckFolderItemsForPropertyLoadingIssues.Show(this.CurrentService);
     }
 }
        public static void Show(ExchangeService service, FolderId parentFolderId)
        {
            CheckFolderItemsForPropertyLoadingIssues diag = new CheckFolderItemsForPropertyLoadingIssues();

            // Only try to populate CurrentFolderId if we were passed a value
            if (parentFolderId != null)
            {
                diag.SetAndDisplayFolderId(parentFolderId);
            }
            diag.CurrentService = service;

            diag.Show();
        }