<?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>Occam&#039;s Razor &#187; twitter</title>
	<atom:link href="http://developmentgeek.com/blog/tag/twitter/feed/" rel="self" type="application/rss+xml" />
	<link>http://developmentgeek.com/blog</link>
	<description>Fueled by Mt. Dew and a love for technology</description>
	<lastBuildDate>Tue, 13 Jul 2010 15:39:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3115</generator>
		<item>
		<title>Close Enough</title>
		<link>http://developmentgeek.com/blog/20080426/close-enough/</link>
		<comments>http://developmentgeek.com/blog/20080426/close-enough/#comments</comments>
		<pubDate>Sat, 26 Apr 2008 21:28:08 +0000</pubDate>
		<dc:creator>Kevin Fairchild</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[vb.net]]></category>

		<guid isPermaLink="false">http://developmentgeek.com/blog/?p=69</guid>
		<description><![CDATA[I was able to finally get the table structure the way I wanted it. Since my source data is all plain text, I identify the URLs and then add in the HREF data with the url as the link text as well as the location. Add in basic tags for displaying the images I want [...]]]></description>
			<content:encoded><![CDATA[<p>I was able to finally get the table structure the way I wanted it.</p>
<p>Since my source data is all plain text, I identify the URLs and then add in the HREF data with the url as the link text as well as the location. Add in basic tags for displaying the images I want next to the next and &#8212; BAM! &#8212; now I have a grid showing the posts/pictures for each user.</p>
<p>Once that was in place, I did something similar for usernames.</p>
<p>Last but not least, I hijacked the DocumentCompleted event of the browser control to add an OnClick event for each link&#8230;  That event lets me selectively perform actions based on what I need&#8230; So clicking on a normal URL will open up a new browser window displaying what&#8217;s needed. Clicking on the image link (the user pic) performs some stuff on the client side to allow replying to that person&#8217;s post.</p>
<p>It&#8217;ll make a bit more sense once I post some pics&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://developmentgeek.com/blog/20080426/close-enough/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More than one way to skin a cat&#8230;</title>
		<link>http://developmentgeek.com/blog/20080426/more-than-one-way-to-skin-a-cat/</link>
		<comments>http://developmentgeek.com/blog/20080426/more-than-one-way-to-skin-a-cat/#comments</comments>
		<pubDate>Sat, 26 Apr 2008 08:59:16 +0000</pubDate>
		<dc:creator>Kevin Fairchild</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[vb.net]]></category>

		<guid isPermaLink="false">http://developmentgeek.com/blog/?p=68</guid>
		<description><![CDATA[Needed to display some data in a grid. No biggie. But I wanted some custom formatting &#8212; mainly allowing for links and whatnot. Eventually, I was left with two options &#8212; inheriting a richtextbox control and using that as a custom datagridcolumn or doing an override on a paint event for the cell&#8230; Started with [...]]]></description>
			<content:encoded><![CDATA[<p>Needed to display some data in a grid.  No biggie.  But I wanted some custom formatting &#8212; mainly allowing for links and whatnot.  Eventually, I was left with two options &#8212; inheriting a richtextbox control and using that as a custom datagridcolumn or doing an override on a paint event for the cell&#8230;</p>
<p>Started with the richtextbox method, but it seemed like the only way that worked was if the editing control was overridden&#8230; Not much use for displaying the stuff.  Meh.</p>
<p>So I tried out using the paint event.  That actually worked pretty good at first.  Using GDI+ DrawString calls to write what I wanted in the color/formatting I wanted &#8212; albeit in a somewhat clumsy way.  But then I began running into issues when I had multiple strings needing formatting or if the string needed to wrap within the cell.</p>
<p>Deciding both method were way too complex for what I needed, I started rethinking the issue.  What I <em>really</em> needed was a way to have it render HTML text.  That way I could do some handy-wavy string manipulations to set the various tags I needed and that would be all that&#8217;s needed.</p>
<p>After looking around for a while for a simple way of doing that within the datagridview, I changed my design plan a bit&#8230;</p>
<p>That&#8217;s when I got an idea&#8230;</p>
<p>If I used a web browser control, I&#8217;d certainly have the HTML support I needed.  And by using tables within HTML, I&#8217;d be able to get pretty close to the same grid feel as that original datagridview.</p>
]]></content:encoded>
			<wfw:commentRss>http://developmentgeek.com/blog/20080426/more-than-one-way-to-skin-a-cat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
