private static bool DisplayLoadingDialog(string title, string content) { // make FT run stably if (PowerPointCurrentPresentationInfo.IsInFunctionalTest) { return(false); } else { _loadDialog = new LoadingDialog(title, content); _loadDialog.Show(); _loadDialog.Refresh(); return(true); } }