WPF Tutorial - Getting the DoubleClick Event
Posted in WPF, XAML, C#, All Tutorials | No Comments »
Posted in WPF, XAML, C#, All Tutorials | No Comments »
Posted in C#, All Tutorials | No Comments »
ItemsControl by setting the ItemsPanel.Posted in WPF, XAML, C#, All Tutorials | No Comments »
Posted in C#, All Tutorials | 2 Comments »
Posted in C#, All Tutorials | 2 Comments »
Posted in C#, All Tutorials | 1 Comment »
Posted in C#, All Tutorials | 2 Comments »
switch statement. More specifically, we are going to take a look at some of the lesser known behaviors of the switch statement in C#, hopefully giving you some new syntactic sugar to use in the process.Posted in C#, All Tutorials | 4 Comments »
#region directive, and that doesn’t even have any impact on the code. Now the preprocessor for C# is nowhere near as powerful as the ones for C and C++ (for instance, no macros), but it does let you do a couple of handy things.Posted in C#, All Tutorials | 4 Comments »
Posted in Snippet Tutorials, C#, All Tutorials | No Comments »
Posted in Snippet Tutorials, C#, All Tutorials | No Comments »
Posted in WPF, XAML, C#, All Tutorials | 3 Comments »
Posted in WPF, XAML, C#, All Tutorials | No Comments »
Posted in WPF, XAML, C#, All Tutorials | 1 Comment »
Posted in WPF, C#, All Tutorials | 1 Comment »
split method, and only worked on really simple CSV files - no quoted fields, etc. Well, we got a comment asking about that, so today I sat down thinking I would write up a more robust parser. But as I read through the RFC that describes CSV files, I thought to myself, am I suffering from NIH (not invented here) syndrome? Do I really need to write a full CSV parser?Posted in C#, All Tutorials | 13 Comments »
Posted in C#, All Tutorials | 3 Comments »
Posted in WPF, C#, All Tutorials | 3 Comments »
A little while back, we did a tutorial on how to embed WinFoms controls inside of WPF application (you can read all about it here). Today, we are going to flip that on its head - we are going to take a look at how to embed WPF controls inside of a WinForms application.
Posted in WPF, C#, All Tutorials | 5 Comments »
Posted in C#, All Tutorials | 15 Comments »
It might be a surprise to see me (The Fattest) writing about Silverlight, but I have had some fun playing around with it recently. So I decided I would write up a quick tutorial on how to build a Silverlight widget that shows the last five tweets (messages) from twitter. Now be forewarned I am not a C# expert, two other people at SOTC are, nor am I a Silverlight expert. I do however really enjoy playing around on twitter (The Fattest’s Twitter Account) and with RIAs so I think I am qualified enough.
Posted in Silverlight, C#, All Tutorials | 1 Comment »
Posted in WPF, C#, All Tutorials | 1 Comment »
Ok, so can you even begin to tell me how many files you have on your computer? I can’t either. There are so many reasons you could need to get file listings in C#, and thanks to the System.IO namespace, doing so is just about as easy as including the namespace itself. Really all you need to do is create a variable, then a loop.
Posted in C#, All Tutorials | 2 Comments »
Posted in C#, All Tutorials | 1 Comment »
Posted in Snippet Tutorials, C#, All Tutorials | 2 Comments »
Posted in Visual Studio, C#, All Tutorials | 1 Comment »
Posted in C#, All Tutorials | 6 Comments »
Posted in C#, All Tutorials | 2 Comments »
Posted in C#, All Tutorials | 11 Comments »
Posted in C#, All Tutorials | 1 Comment »
DoubleBuffered to true. However, by making it so easy, .NET took away a lot of control over the double buffering process - and so in a select few instances, it is better to manage the double buffering of your control yourself. Today, I am going to walk through how to do that.Posted in C#, All Tutorials | 6 Comments »
ToString function call. In fact, strings are so easy to work with in C#, one might almost say that they are too easy to work with.Posted in C#, All Tutorials | 5 Comments »
Posted in C#, All Tutorials | 11 Comments »
Posted in C#, All Tutorials | 1 Comment »
Posted in C#, All Tutorials | No Comments »
Posted in C#, All Tutorials | 2 Comments »
Posted in C#, All Tutorials | 6 Comments »
Posted in C#, All Tutorials | 4 Comments »
Posted in WPF, C#, All Tutorials | 1 Comment »
Posted in XNA, C#, All Tutorials | 3 Comments »
Posted in WPF, C#, All Tutorials | 5 Comments »
Posted in LINQ, C#, All Tutorials | 4 Comments »
Posted in WPF, XAML, C#, All Tutorials | 8 Comments »
Posted in Snippet Tutorials, C#, All Tutorials | 1 Comment »
Posted in WPF, XAML, C#, All Tutorials | 7 Comments »
Posted in C#, All Tutorials | 8 Comments »
Posted in C#, All Tutorials | 8 Comments »
Posted in Snippet Tutorials, C#, All Tutorials | 6 Comments »
Posted in Snippet Tutorials, C#, All Tutorials | 8 Comments »
Posted in C#, All Tutorials | 2 Comments »
params keyword. This keyword is another one of those not well known keywords in C#, but it makes life a lot easier in certain situations - and code a lot cleaner. What does the params keyword do, you ask? Well, lets take a look.Posted in Snippet Tutorials, C#, All Tutorials | 5 Comments »
Posted in C#, All Tutorials | 1 Comment »
Posted in C#, All Tutorials | 6 Comments »
Posted in C#, All Tutorials | 57 Comments »
Posted in C#, All Tutorials | 3 Comments »
Posted in C#, All Tutorials | 6 Comments »
Posted in Snippet Tutorials, C#, All Tutorials | 4 Comments »
Posted in C#, All Tutorials | No Comments »
readonly keyword, often because many people just group it with the const keyword and leave it at that. Well, the readonly keyword deserves better than that - and so here today we are going to talk about what exactly it does, how it differs from const, and why you would ever want to use it at all.Posted in C#, All Tutorials | 1 Comment »
Posted in C#, All Tutorials | 5 Comments »
Posted in C#, All Tutorials | 41 Comments »
Posted in C#, All Tutorials | No Comments »
Posted in C#, All Tutorials | 13 Comments »
Posted in C#, All Tutorials | 8 Comments »
Posted in Snippet Tutorials, C#, All Tutorials | 9 Comments »
Posted in Snippet Tutorials, C#, All Tutorials | 3 Comments »
Posted in C#, All Tutorials | 23 Comments »
Posted in Snippet Tutorials, C#, All Tutorials | 4 Comments »
Posted in Silverlight, C#, All Tutorials | 4 Comments »
Posted in C#, All Tutorials | 7 Comments »
Posted in C#, All Tutorials | 40 Comments »
Posted in C#, All Tutorials | 1 Comment »