protected override void OnPaint(PaintEventArgs e)
        {
            if (isItemsViewShown)
            {
                if (e.ClipRectangle.IntersectsWith(new Rectangle(rssItemsView.Location, rssItemsView.Size)))
                {
                    rssItemsView.Paint(e);
                }
            }

            if (isFeedViewShown)
            {
                if (e.ClipRectangle.IntersectsWith(new Rectangle(rssFeedsView.Location, rssFeedsView.Size)))
                {
                    rssFeedsView.Paint(e);
                }
            }

            rssDescriptionView.Paint(e);
        }
예제 #2
0
 protected override void OnPaint(PaintEventArgs e)
 {
     rssView.Paint(e);
     rssDescriptionView.Paint(e);
 }