I remember seeing this last year when i was trying to put my hands wet with WPF. It's a pretty good five day course courtesy of Karsten Januszewski which you can complete just by reading and applying the things that you can find out from his set of useful links. A pretty good primer to WPF if you...
A few weeks ago I wrote an article on how to use IComparer and how it was easy it is to create a custom comparer to sort our objects. This time we'll talk creating a default sort mechanism for our objects by using IComparer's relative, the interface IComparable. We'll also be touching Anonymous Delegates...
I was running a test on my Web Server today when a friend of mine IMed me about an interesting question about .NET. He was a new programmer for this company and the old developer that he replaced was running production(oh my) applications right of his desktop. The IT manager was getting worried because...
Seems like i learn something new everyday... public string Name { get { return name; } protected set { name = value; } } I never knew that i could put an accessibility level to the 'set' portion of my property. This technique is called Asymmetric Accessor Accessibility . Read more here .
Geee! it's been more than a month since I last posted something in this blog. I have been really really busy this past few weeks with a huge project and a gragantuan task which made it really hard for me to write anything that is interesting. Anyway, I have been coding crazy as always when i found out...
After creating this article , i realized that i can use a new utility in my toolbox. A Font Viewer. I don't want to download a new spyware so decided to code a simple one, something that i could use from time to time whenever i have the need to view a font before placing it on my Photoshop design...
This is a really basic stuff that alot of developers tend to forget(just like me :D) [C# VERSION] using System; using System.Collections.Generic; using System.Text; using System.Drawing.Text; using System.Drawing; namespace KeithRull.MachineFonts { class Program { static void Main( string [] args) {...
After reviewing my first example .. i realized that doing reflection is not the easy way to do get the known color collection(thanks to Chris Vega who pointed to me the Enum called KnownColor which basically contains .NET known colors). Somebody also told me that the demo would be nicer if the colors...
I had a little downtime today so i decided to create something useful(ala coding4fun) and one of the things that i wish i have in my toolbox is an .NET color chart since most of the time i tend to look at what colors i could use when matching my controls with my UI's theme(stylesheets? nah, that...
I created a demo today about WMI to demostrate to a friend how to read his machine's information. The resulting application is listed below. It's funny because i was just supposed to show him how WMI works but ended up discussing IEnumerators, Hashtables, Enums, Strategy and Command Pattern plus a hint...