Ioannis Panagopoulos blog

Tutorials on HTML5, Javascript, WinRT and .NET

Image Resources in WinForms and WPF

by Ioannis Panagopoulos
Suppose you have a picture control in your form (WinForms) / window (WPF) and want to display the following picture in it (logo.png): In a Window Forms application you create a PictureBox control in your form, and in the code file you want to do something like the following: ... [More]

WPF XAML SYNTAX 101

by Ioannis Panagopoulos
DownLoad in .pdf (145,97 kb) This post provides the basic key points in order to understand the WPF XAML syntax and what is going on behind the scenes in the XAML Processor. Although you may be the kind of guy/girl who prefers to learn through writing/reading code, I recommend reading this art... [More]

Code Formatter for HTML

by Ioannis Panagopoulos
I have been searching for some time for a neat html code generator from C# code that supports syntaxt highlighting, in order to use it in BlogEngine.Net. The previous posts in this article have been written by applying the usual _[_code:cs]...[_/code] tags. Unfortunately this approach does not alway... [More]

Encodings and Charsets

by Ioannis Panagopoulos
I always dreaded the "unrecognized characters" problems encountered in windows applications when dealing with old data. They appeared and still appear usually when data from an old MSDOS application are ported to current database management applications (MS Access, Microsoft SQL, .NET Data... [More]

Finding the property that called a method.

by Ioannis Panagopoulos
There are some cases where we want to call the same method from the getters/setters of the properties of a business object. Within that method we want to differentiate behaviour according to the property that called the metthod. The most straightforward solution is to pass with the method a string p... [More]
hire me