private void DisplayProjectNameIssues(ReasonList list) { m_projectNameIssuesPopup = Utillities.CreateIssueToolTip(list); m_projectNameIssuesPopup.PlacementTarget = projectNameIssuesImage; if (list.Count == 0) { projectNameIssuesImage.Source = Utillities.CheckmarkBitmap; } else { if (list.ContainsError) { projectNameIssuesImage.Source = Utillities.ErrorBitmap; } else { projectNameIssuesImage.Source = Utillities.WarningBitmap; } } }
private void DisplayCEGameIssues(ReasonList reasons) { m_ceGameIssuesPopup = Utillities.CreateIssueToolTip(reasons); m_ceGameIssuesPopup.PlacementTarget = ceGameIssuesImage; if (reasons.Count == 0) { ceGameIssuesImage.Source = Utillities.CheckmarkBitmap; } else { if (reasons.ContainsError) { ceGameIssuesImage.Source = Utillities.ErrorBitmap; } else { ceGameIssuesImage.Source = Utillities.WarningBitmap; } } }
private void DisplayTemplateIssues(ReasonList reasonList) { if (reasonList != null && reasonList.Count > 0) { if (reasonList.ContainsError) { gameTemplateIssuesImage.Source = Utillities.ErrorBitmap; } else { gameTemplateIssuesImage.Source = Utillities.WarningBitmap; } m_gameTemplateIssuesPopup = Utillities.CreateIssueToolTip(reasonList); m_gameTemplateIssuesPopup.PlacementTarget = gameTemplateIssuesImage; } else { gameTemplateIssuesImage.Source = Utillities.CheckmarkBitmap; m_gameTemplateIssuesPopup = null; } }