<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Bee Eee Blog &#187; c# gui</title>
	<atom:link href="http://blog.bee-eee.com/tag/c-gui/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.bee-eee.com</link>
	<description>-- C# hints and tips</description>
	<lastBuildDate>Wed, 23 Dec 2009 19:00:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>c# .Net double buffering &#8212; plus a little</title>
		<link>http://blog.bee-eee.com/2008/01/08/c-net-double-buffering-plus-a-little/</link>
		<comments>http://blog.bee-eee.com/2008/01/08/c-net-double-buffering-plus-a-little/#comments</comments>
		<pubDate>Tue, 08 Jan 2008 16:25:35 +0000</pubDate>
		<dc:creator>brian</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[GUI]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[c# coding GUI]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[c# gui]]></category>

		<guid isPermaLink="false">http://blog.bee-eee.com/?p=17</guid>
		<description><![CDATA[It seems I left out something that helps the quality of the .Net provided form double buffering when you are doing custom drawing. Just override OnPaintBackground and leaving it blank. This prevents the background from being momentarily drawn when you don&#8217;t want it to be. so again here&#8217;s how to enable double buffering on the [...]]]></description>
			<content:encoded><![CDATA[<p>It seems I left out something that helps the quality of the .Net provided form double buffering when you are doing custom drawing.  Just override OnPaintBackground and leaving it blank.  This prevents the background from being momentarily drawn when you don&#8217;t want it to be.</p>
<p>so again here&#8217;s how to enable double buffering on the form:</p>
<pre class="code">
this.SetStyle(
          ControlStyles.AllPaintingInWmPaint |
          ControlStyles.UserPaint |
          ControlStyles.DoubleBuffer,true);</pre>
<p>And then the override</p>
<pre>
protected override void OnPaintBackground(PaintEventArgs e)
{
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.bee-eee.com/2008/01/08/c-net-double-buffering-plus-a-little/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
