<?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>MikeCann.co.uk &#187; C#</title>
	<atom:link href="http://mikecann.co.uk/tag/c/feed/" rel="self" type="application/rss+xml" />
	<link>http://mikecann.co.uk</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sat, 04 Sep 2010 23:28:01 +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>Windows 7 Taskbar Monitor</title>
		<link>http://mikecann.co.uk/personal-projects/windows-7-taskbar-monitor/</link>
		<comments>http://mikecann.co.uk/personal-projects/windows-7-taskbar-monitor/#comments</comments>
		<pubDate>Sun, 14 Mar 2010 22:26:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Personal Projects]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Taskbar]]></category>
		<category><![CDATA[Tool]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.mikecann.co.uk/?p=949</guid>
		<description><![CDATA[Well this will learn me! A while back, I had an idea for a very simple application that would sit in your taskbar and give you at-a-glance performance info about your system, similar to iStat Pro for OSX. This weekend I finally had time to clean up the code up for release. The problem is that while looking for [...]]]></description>
			<content:encoded><![CDATA[<p>Well this will learn me!</p>
<p>A while back, I had an idea for a very simple application that would sit in your taskbar and give you at-a-glance performance info about your system, similar to<a href="http://www.islayer.com/apps/istatpro/"> iStat Pro for OSX</a>. This weekend I finally had time to clean up the code up for release.</p>
<p>The problem is that while looking for a couple of images for the app I happened to stumble across <a href="http://taskbarmeters.codeplex.com/">Taskbar Meters</a>, which is pretty much the exact same idea I had. Looks like he has made a better job out of it that me too <img src='http://mikecann.co.uk/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>Ah well, I have decided to release my version of the app nonetheless:</p>
<p><a href="http://mikecann.co.uk/wp-content/uploads/2010/03/ScreenHunter_02-Mar.-14-21.45.gif"><img class="alignnone size-full wp-image-950" title="ScreenHunter_02 Mar. 14 21.45" src="http://mikecann.co.uk/wp-content/uploads/2010/03/ScreenHunter_02-Mar.-14-21.45.gif" alt="" width="254" height="420" /></a></p>
<p>You can open the app multiple times and set each one to monitor a different value:</p>
<p><a href="http://mikecann.co.uk/wp-content/uploads/2010/03/ScreenHunter_03-Mar.-14-21.46.gif"><img class="alignnone size-full wp-image-951" title="ScreenHunter_03 Mar. 14 21.46" src="http://mikecann.co.uk/wp-content/uploads/2010/03/ScreenHunter_03-Mar.-14-21.46.gif" alt="" width="502" height="47" /></a></p>
<p>I have also decided to post the source up on google code: <a href="http://code.google.com/p/win7-taskbar-mon/">http://code.google.com/p/win7-taskbar-mon/</a></p>
<p>Anyways you can grab version 0.1 here: <a href="http://win7-taskbar-mon.googlecode.com/files/Windows7_Taskbar_Monitor_v0.1.zip">http://win7-taskbar-mon.googlecode.com/files/Windows7_Taskbar_Monitor_v0.1.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://mikecann.co.uk/personal-projects/windows-7-taskbar-monitor/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Flash Develop Plugin: Go To Definition</title>
		<link>http://mikecann.co.uk/personal-projects/flash-develop-plugin-go-to-definition/</link>
		<comments>http://mikecann.co.uk/personal-projects/flash-develop-plugin-go-to-definition/#comments</comments>
		<pubDate>Mon, 11 May 2009 18:08:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Personal Projects]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[FlashDevelop]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://www.mikecann.co.uk/?p=480</guid>
		<description><![CDATA[Go To Definition I love the Ctrl &#38; click feature in Eclipse/Netbeans and the Go To Definition feature in Visual Studio and have decided to implement them in Flash develop. After an evening or so of trying to write this myself I come accross the &#8220;ASComplete.DeclarationLookup()&#8221; method. To my great astonishment, this does exactly what [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Go To Definition</strong><br />
I love the Ctrl &amp; click feature in Eclipse/Netbeans and the Go To Definition feature in Visual Studio and have decided to implement them in <a href="http://www.flashdevelop.org/community/index.php">Flash develop</a>. After an evening or so of trying to write this myself I come accross the &#8220;ASComplete.DeclarationLookup()&#8221; method. To my great astonishment, this does exactly what I want. So thankyou to <a href="http://www.flashdevelop.org/community/memberlist.php?mode=viewprofile&amp;u=3">Philippe</a> or whoever wrote this method and did all the hardwork of the plugin for me <img src='http://mikecann.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><strong>Screenshot</strong></p>
<p><img class="alignnone" src="http://www.mikecann.co.uk/Files/GoToS01.png" alt="" width="450" height="600" /></p>
<p><strong>DLL</strong><br />
<a href="http://www.mikecann.co.uk/Files/GoToDefinition.dll">http://www.mikecann.co.uk/Files/GoToDefinition.dll</a></p>
<p><strong>Source</strong><br />
<a href="http://www.mikecann.co.uk/Files/GoToDefinition_source.zip">http://www.mikecann.co.uk/Files/GoToDefinition_source.zip</a></p>
<p><strong>Post</strong><br />
<a href="http://www.flashdevelop.org/community/viewtopic.php?f=4&amp;t=4722">http://www.flashdevelop.org/community/viewtopic.php?f=4&amp;t=4722</a></p>
<p><strong>EDIT:</strong><br />
It appears that the same functionality is built as standard into FD with the use of the F4 key. Oh well, you can still use this as a shortcut <img src='http://mikecann.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://mikecann.co.uk/personal-projects/flash-develop-plugin-go-to-definition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Highlight Selected Plugin, updated by David Hancock</title>
		<link>http://mikecann.co.uk/programming/highlight-selected-plugin-updated-by-david-hancock/</link>
		<comments>http://mikecann.co.uk/programming/highlight-selected-plugin-updated-by-david-hancock/#comments</comments>
		<pubDate>Mon, 04 May 2009 14:24:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[FlashDevelop]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://www.mikecann.co.uk/?p=471</guid>
		<description><![CDATA[This sort of things brings a big smile to my face; I got an excellent email yesterday from a chap named Dave Hancock asking my permission to post an update he had made to my Highlight Selected plugin. Its an excellent upgrade and brings some extra features that were lacking in my very basic version. [...]]]></description>
			<content:encoded><![CDATA[<p>This sort of things brings a big smile to my face; I got an excellent email yesterday from a chap named <a href="http://gonegothic.com/">Dave Hancock</a> asking my permission to post an update he had made to my <a href="http://www.mikecann.co.uk/?p=403">Highlight Selected</a> plugin.</p>
<p>Its an excellent upgrade and brings some extra features that were lacking in my very basic version.</p>
<p><strong>Copy / Paste of his update:</strong></p>
<p>Liked the plugin so much I decided to add a few features! Posting here with Mike&#8217;s permission.</p>
<p><strong>Screenshot</strong><br />
<img class="alignnone" src="http://gonegothic.com/files/flashdevelop/HighlightSelection/HighlightSelection01.jpg" alt="" width="560" height="306" /></p>
<p><strong>Updates</strong><br />
Added 4 plugin setting options:</p>
<p>Highlight Color (Choose a color for the highlight)<br />
Highlight Whole Words (Choose whether to highlight whole words only or include partial text)<br />
Match Case (Choose whether to match the case of the selection or not)<br />
Add Line Marker (Display a line marker next to highlighted text)</p>
<p>No longer highlights white-space characters</p>
<p><strong>Installation</strong><br />
+ Open FlashDevelop, Click Tools -&gt; Application Files<br />
+ Copy the DLL to the &#8220;Plugins&#8221; directory<br />
+ Restart FlashDevelop</p>
<p><strong>DLL</strong><br />
<a href="http://gonegothic.com/files/flashdevelop/HighlightSelection/HighlightSelection.dll">http://gonegothic.com/files/flashdevelo &#8230; ection.dll</a></p>
<p><strong>Source</strong><br />
<a href="http://gonegothic.com/files/flashdevelop/HighlightSelection/HighlightSelection.zip">http://gonegothic.com/files/flashdevelo &#8230; ection.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://mikecann.co.uk/programming/highlight-selected-plugin-updated-by-david-hancock/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Proof of Concept: TwittBot</title>
		<link>http://mikecann.co.uk/concepts/proof-of-concept-twittbot/</link>
		<comments>http://mikecann.co.uk/concepts/proof-of-concept-twittbot/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 18:49:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Concepts]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Bot]]></category>
		<category><![CDATA[Opensource]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://www.mikecann.co.uk/?p=446</guid>
		<description><![CDATA[Well for the last few evenings I have been working on this little proof of concept. One of my work colleague Ade (@6t8) came up with the idea &#8220;someone should make a game that you can play over twitter&#8221;. Well after abit of excitement and talk I decided to have a go at coding this [...]]]></description>
			<content:encoded><![CDATA[<p>Well for the last few evenings I have been working on this little proof of concept. One of my work colleague Ade (<a href="http://twitter.com/6t8">@6t8</a>) came up with the idea &#8220;someone should make a game that you can play over twitter&#8221;. Well after abit of excitement and talk I decided to have a go at coding this idea. Once I had started I realised that it could be possible to do alot more with this, so I decided to make the project a little more generic and turn it into a pluggable bot for automating twitter.</p>
<p>After a few evenings work however I decided that this project was going to take up a bit too much of my time, especially when I had so much other work to do. So I have decided to release what I have done and let other take it and develop it if they wish.</p>
<p>You login using a twitter account:</p>
<p><img class="alignnone size-full wp-image-447" title="1" src="http://mikecann.co.uk/wp-content/uploads/2009/04/1.gif" alt="1" width="600" height="398" /></p>
<p><span id="more-446"></span>Once logged in you are presented with the main interface, plugins are loaded automatically from the directory and displayed as tabs. The reason for doing them as plugins is to allow users to pick and choose what functionality they want their twittbot to have. Also it allows for easy upgrading to newer plugin versions.</p>
<p><img class="alignnone size-full wp-image-448" title="2" src="http://mikecann.co.uk/wp-content/uploads/2009/04/2.gif" alt="2" width="732" height="549" /></p>
<p>Hangman was the primary idea for this project and is implemented as a simple plugin that consists of 3 simple commands:</p>
<p><img class="alignnone size-full wp-image-449" title="3" src="http://mikecann.co.uk/wp-content/uploads/2009/04/3.gif" alt="3" width="654" height="492" /></p>
<p>I have built a simple polling timer for checking new messages from Twitter:</p>
<p><img class="alignnone size-full wp-image-450" title="4" src="http://mikecann.co.uk/wp-content/uploads/2009/04/4.gif" alt="4" width="669" height="426" /></p>
<p>The interface uses docking panels provided by the<a href="http://sourceforge.net/projects/dockpanelsuite/"> .NET DockPanel Suite</a>. Docking is demonstrated below with the log window:</p>
<p><img class="alignnone size-full wp-image-451" title="5" src="http://mikecann.co.uk/wp-content/uploads/2009/04/5.gif" alt="5" width="684" height="483" /></p>
<p>The next shot shows me sending a direct message to the &#8220;<a href="http://www.twitter.com/twittgames">twittgames</a>&#8221; account from my &#8220;<a href="http://www.twitter.com/mikeysee">mikeysee</a>&#8221; account:</p>
<p><img class="alignnone size-full wp-image-452" title="6" src="http://mikecann.co.uk/wp-content/uploads/2009/04/6.gif" alt="6" width="741" height="603" /></p>
<p>After refreshing, the Hangman plugin then shows the active game states:</p>
<p><img class="alignnone size-full wp-image-453" title="7" src="http://mikecann.co.uk/wp-content/uploads/2009/04/7.gif" alt="7" width="741" height="603" /></p>
<p>Then you play the game by making guesses:</p>
<p><img class="alignnone size-full wp-image-454" title="8" src="http://mikecann.co.uk/wp-content/uploads/2009/04/8.gif" alt="8" width="741" height="603" />A</p>
<p>And the plugin responds to your guesses:</p>
<p><img class="alignnone size-full wp-image-455" title="9" src="http://mikecann.co.uk/wp-content/uploads/2009/04/9.gif" alt="9" width="741" height="603" /></p>
<p>It is far from complete but as a proof of concept I think it demonstrates the idea. There are many things that could be improved and/or worked upon, such as:</p>
<ul>
<li>Implement async calls rather than halting the thread when making a call</li>
<li>Completing the Auto-follow plugin</li>
<li>Implementing a database to log previously handled messages</li>
<li>Enable back-messaging so you can search for previous messages and handle them</li>
<li>Implement an interface for loading/unloading plugins</li>
</ul>
<p>For the technology side of things, its was developed in C# .NET 3.5 using the excellent <a href="http://code.google.com/p/tweetsharp/">TweetSharp </a>library for interfacing with Twitter. Docking panel functionality is provided by <a href="http://sourceforge.net/projects/dockpanelsuite/">DockPanel Suite</a>.</p>
<p>You can grab the binary for this here: <a href="Files/TwitterBot.zip">TwitterBot.zip</a></p>
<p>Source code is available on request. Email: mike.cann@gmail.com</p>
]]></content:encoded>
			<wfw:commentRss>http://mikecann.co.uk/concepts/proof-of-concept-twittbot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Killer space penguins!</title>
		<link>http://mikecann.co.uk/chainreaction/killer-space-penguins/</link>
		<comments>http://mikecann.co.uk/chainreaction/killer-space-penguins/#comments</comments>
		<pubDate>Mon, 12 Mar 2007 16:11:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[ChainReaction]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[XNA]]></category>

		<guid isPermaLink="false">http://www.artificial-studios.co.uk/?p=156</guid>
		<description><![CDATA[Just to follow on from the previous post and to make it make a little more sense, here is a screenshot of the demo XNA space game i made in a day to show off my new particle engine SDK. Yup space penguins are attacking the earth!]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.mikecann.co.uk/Images/Others/spacepenguin.png"><img width="400" height="309" src="http://www.mikecann.co.uk/Images/Others/spacepenguin.png" alt="" /></a></p>
<p>Just to follow on from the previous post and to make it make a little more sense, here is a screenshot of the demo XNA space game i made in a day to show off my new particle engine SDK. </p>
<p>Yup space penguins are attacking the earth!</p>
]]></content:encoded>
			<wfw:commentRss>http://mikecann.co.uk/chainreaction/killer-space-penguins/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
