<?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>C# 411 &#187; Controls</title>
	<atom:link href="http://www.csharp411.com/category/controls/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.csharp411.com</link>
	<description>C# Information, Code, Tips and News</description>
	<lastBuildDate>Mon, 19 Jul 2010 14:56:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>DataGridView HideSelection to Hide Selection when Grid Loses Focus</title>
		<link>http://www.csharp411.com/datagridview-hideselection-to-hide-selection-when-grid-loses-focus/</link>
		<comments>http://www.csharp411.com/datagridview-hideselection-to-hide-selection-when-grid-loses-focus/#comments</comments>
		<pubDate>Tue, 02 Sep 2008 13:56:13 +0000</pubDate>
		<dc:creator>timm</dc:creator>
				<category><![CDATA[Controls]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Windows Forms]]></category>
		<category><![CDATA[DataGridView]]></category>
		<category><![CDATA[focus]]></category>
		<category><![CDATA[HideSelection]]></category>

		<guid isPermaLink="false">http://www.csharp411.com/datagridview-hideselection-to-hide-selection-when-grid-loses-focus/</guid>
		<description><![CDATA[The DataGridView is a powerful grid control included in the .NET Framework.  One function missing, however, is the ability to hide the current selection when the DataGridView control is not focused.  What the DataGridView class needs is a HideSelection property, similar to the ListView and TextBox.  But the .NET designers have not included this capability [...]


Related posts:<ol><li><a href='http://www.csharp411.com/enter-key-in-datagridview/' rel='bookmark' title='Permanent Link: Enter Key in DataGridView'>Enter Key in DataGridView</a></li><li><a href='http://www.csharp411.com/c-focus-textbox-on-form-load/' rel='bookmark' title='Permanent Link: C# Focus TextBox on Form Load'>C# Focus TextBox on Form Load</a></li><li><a href='http://www.csharp411.com/hide-form-from-alttab/' rel='bookmark' title='Permanent Link: Hide Form from Alt+Tab'>Hide Form from Alt+Tab</a></li></ol>]]></description>
		<wfw:commentRss>http://www.csharp411.com/datagridview-hideselection-to-hide-selection-when-grid-loses-focus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Display an RTF File that&#039;s a C# Embedded Resource</title>
		<link>http://www.csharp411.com/display-an-rtf-file-thats-a-c-embedded-resource/</link>
		<comments>http://www.csharp411.com/display-an-rtf-file-thats-a-c-embedded-resource/#comments</comments>
		<pubDate>Wed, 16 Jul 2008 13:59:27 +0000</pubDate>
		<dc:creator>timm</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Controls]]></category>
		<category><![CDATA[IO]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.csharp411.com/display-an-rtf-file-thats-a-c-embedded-resource/</guid>
		<description><![CDATA[It's easy to display an RTF file &#8212; that was embedded as a resource in a C# program &#8212; in a Windows Form RichTextControl.

First, include the following references:
using System.IO;
using System.Reflection;

Next, load the RTF that you have embedded in your Visual Studio project:
Assembly asm = Assembly.GetExecutingAssembly();
Stream stream = asm.GetManifestResourceStream( &#34;MyNamespace.FileName.rtf&#34; );

RichTextBox rt = new RichTextBox();
rt.LoadFile( stream, [...]


Related posts:<ol><li><a href='http://www.csharp411.com/embedded-image-resources/' rel='bookmark' title='Permanent Link: Embedded Image Resources'>Embedded Image Resources</a></li><li><a href='http://www.csharp411.com/check-valid-file-path-in-c/' rel='bookmark' title='Permanent Link: Check Valid File Path in C#'>Check Valid File Path in C#</a></li><li><a href='http://www.csharp411.com/truncate-file-path-with-ellipsis/' rel='bookmark' title='Permanent Link: Truncate File Path with Ellipsis'>Truncate File Path with Ellipsis</a></li></ol>]]></description>
		<wfw:commentRss>http://www.csharp411.com/display-an-rtf-file-thats-a-c-embedded-resource/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Manipulating Controls Across Threads</title>
		<link>http://www.csharp411.com/manipulating-controls-across-threads/</link>
		<comments>http://www.csharp411.com/manipulating-controls-across-threads/#comments</comments>
		<pubDate>Thu, 15 May 2008 16:18:05 +0000</pubDate>
		<dc:creator>timm</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Controls]]></category>
		<category><![CDATA[Threading]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Windows Forms]]></category>

		<guid isPermaLink="false">http://www.csharp411.com/manipulating-controls-across-threads/</guid>
		<description><![CDATA[Methods that affect a Windows Forms control can be executed only on the thread that created the control.  .NET does not permit directly manipulating controls across threads.  The Visual Studio compiler under .NET 2.0 will mark these attempts as errors.  .NET 1.1 will allow them, but these will often result in unexpected [...]


Related posts:<ol><li><a href='http://www.csharp411.com/close-all-forms-in-a-thread-safe-manner/' rel='bookmark' title='Permanent Link: Close All Forms in an Application in a Thread-Safe Manner'>Close All Forms in an Application in a Thread-Safe Manner</a></li><li><a href='http://www.csharp411.com/simplify-delegates-with-inferences/' rel='bookmark' title='Permanent Link: Simplify Delegates with Inferences'>Simplify Delegates with Inferences</a></li><li><a href='http://www.csharp411.com/property-delegates-with-anonymous-methods/' rel='bookmark' title='Permanent Link: Property Delegates with Anonymous Methods'>Property Delegates with Anonymous Methods</a></li></ol>]]></description>
		<wfw:commentRss>http://www.csharp411.com/manipulating-controls-across-threads/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
