DCSIMG
VS2008 - Doron's .NET Space

Browse by Tags

All Tags » VS2008 (RSS)

WPF Binding, INotifyPropertyChanged and Linq

This is the first of a couple of tips I would like to share reguarding WPF. WPF binding is extremely powerful, but you are bound to run into a few issues, especially if, like myself, you have no WinForms experience. As I was writing my small LiveSpaceToBlogML GUI , I used binding in order to populate an object called ConversionOptions, which pretty much held all the data on the form. The form look something like this (a pretty simplified version, in order to focus on what matters): < Window x...
Posted by dorony | 9 comment(s)
תגים:, , , ,

ReSharper + Orcas = Bad

A small warning: Do not install the pre-release of ReSharper 3.0 on Visual Studio Orcas. Although the installation works, ReSharper does not handle the C# 3.0 syntax correctly (it really doesn't like x => x+1 syntax ), and the intellisense gets all screwed up. Trying to uninstall ReSharper 3.0 resulted in my VS Orcas having an empty "ReSharper" menu, and with the intellisense gone, which I had to fix manually (by scanning the options menu for about an hour for the right option). To add to the...
Posted by dorony | with no comments
תגים:,

My First C# 3.0 Program

I've finally decided to download the new "Orcas" CTP of Visual Studio , which includes support for the all new C# 3.0. Up until now I only read about it, so I thought it was about time I tried it myself. And it's awesome. So, here's my "hello world" program. public void MyFirstProgram(Func < string , string > doSomethingWithString) { var result = doSomethingWithString( " dlroW olleH " ); Console.WriteLine(result); } public void Main() { MyFirstProgram(str =>...
Posted by dorony | 2 comment(s)
תגים:, ,