Revision 6f03d6e1 trunk/NetSparkle/NetSparkleForm.cs
b/trunk/NetSparkle/NetSparkleForm.cs | ||
---|---|---|
28 | 28 |
lblInfoText.Text = lblInfoText.Text.Replace("APP", item.AppName + " " + item.Version); |
29 | 29 |
lblInfoText.Text = lblInfoText.Text.Replace("OLDVERSION", item.AppVersionInstalled); |
30 | 30 |
|
31 |
if (item.ReleaseNotesLink != null && item.ReleaseNotesLink.Length > 0 ) |
|
32 |
NetSparkleBrowser.Navigate(item.ReleaseNotesLink); |
|
33 |
else |
|
34 |
RemoveReleaseNotesControls(); |
|
31 |
if (!String.IsNullOrWhiteSpace(item.Summary)) |
|
32 |
{ |
|
33 |
NetSparkleBrowser.DocumentText = "<html><body>" + item.Summary + "</html></body>"; |
|
34 |
} |
|
35 |
else |
|
36 |
{ |
|
37 |
if (item.ReleaseNotesLink != null && item.ReleaseNotesLink.Length > 0) |
|
38 |
NetSparkleBrowser.Navigate(item.ReleaseNotesLink); |
|
39 |
else |
|
40 |
RemoveReleaseNotesControls(); |
|
41 |
} |
|
35 | 42 |
|
36 | 43 |
if (appIcon != null) |
37 | 44 |
imgAppIcon.Image = appIcon; |
Also available in: Unified diff