Esempio n. 1
0
 internal void ShowFeed(FeedItem feed, bool showUrl)
 {
     linkView.Visible = showUrl;
     linkView.Text = feed.Url;
     lcTitle.Text = string.Format("<size=+3><b>{0}<br><br></b><size=-4>{3}: <size=+2>{1}<br><size=-2>{4}: <size=+2>{2:g}<br>", feed.Title, feed.From, feed.Date, Properties.Resources.From, Properties.Resources.Date);
     recMessage.HtmlText = feed.Description;
 }
Esempio n. 2
0
 internal void ShowFeed(FeedItem feed, bool showUrl)
 {
     ShowMessageAdditions(false);
     if(showUrl) layoutControlItem2.Visibility = XtraLayout.Utils.LayoutVisibility.Always;
     else layoutControlItem2.Visibility = XtraLayout.Utils.LayoutVisibility.Never;
     linkView.Text = feed.Url;
     lcTitle.Text = string.Format("<size=+3><b>{0}<br><br></b><size=-4>{3}: <size=+2>{1}<br><size=-2>{4}: <size=+2>{2:g}<br>", feed.Title, feed.From, feed.Date, Properties.Resources.From, Properties.Resources.Date);
     recMessage.HtmlText = feed.Description;
 }