public readonly List<BlueStory> Successors = new List<BlueStory>(); // successor posts. #endregion Fields #region Constructors public BlueStory(BlueType type, string title, Region region, string link, string topicId, string postId) : base(title) { this.Type = type; this.Region = region; this.Link = link; this.TopicId = topicId; this.PostId = postId; this.Guid = string.Format("{0}.{1}#{2}", this.Region, this.TopicId, this.PostId); switch (this.Region) { case Region.Eu: this.Icon = new NodeIcon("eu", Assets.Images.Icons.Png._16.eu); break; case Region.Us: this.Icon = new NodeIcon("us", Assets.Images.Icons.Png._16.us); break; } this.RememberState = true; this.Menu.Add("markasread", new ToolStripMenuItem(i18n.MarkAsRead, Assets.Images.Icons.Png._16.read, new EventHandler(MenuMarkAsReadClicked))); this.Menu.Add("markasunread", new ToolStripMenuItem(i18n.MarkAsUnread, Assets.Images.Icons.Png._16.unread, new EventHandler(MenuMarkAsUnReadClicked))); }
public BlueParser(BlueType type) : base(type.ToString()) { this._type = type; this.Menu.Add("markallasread", new System.Windows.Forms.ToolStripMenuItem(i18n.MarkAsRead, Assets.Images.Icons.Png._16.read, new EventHandler(MenuMarkAllAsReadClicked))); this.Menu.Add("markallasunread", new System.Windows.Forms.ToolStripMenuItem(i18n.MarkAllAsUnread, Assets.Images.Icons.Png._16.unread, new EventHandler(MenuMarkAllAsUnReadClicked))); }
public override void DebugCheck(ISemanticResolver s) { BlueType.DebugCheck(s); }