RE: [NF] For my C# friends who miss With End With.

2009-01-28 Thread Christof Wollenhaupt
Hi Stephen, > Article says that it works in 2.0 but not on mine. Been using this for a while in my 2.0 code. It works with .NET 2.0 as the target platform, but requires C# 3.0 (i.e. VS.NET 2008) since it's a compiler feature. Fortunately, a lot of VS 2008 features are in fact compiler features.

Re: [NF] For my C# friends who miss With End With.

2009-01-28 Thread Stephen Russell
On Wed, Jan 28, 2009 at 7:23 AM, Dave Crozier wrote: > Stephen, > At lastmanna from heaven! I've been waiting for this since I first got > into C# but I haven't had time to check out the new version. > > Well spotted! > Article says that it works in 2.0 but no

RE: [NF] For my C# friends who miss With End With.

2009-01-28 Thread Dave Crozier
en Russell Sent: 2009-01-26 22:05 To: ProFox Email List Subject: [NF] For my C# friends who miss With End With. <http://www.vpsw.com/blogbaby/PermaLink,guid,5ebf2926-8003-4c16-b328-8e91755 317b0.aspx> For all that code that did this: var MenuBinding = new MenuItemBinding(); MenuBi

[NF] For my C# friends who miss With End With.

2009-01-26 Thread Stephen Russell
For all that code that did this: var MenuBinding = new MenuItemBinding(); MenuBinding.DataMember = MenuItemElementName; MenuBinding.TextField = DisplayTextAttribute; MenuBinding.NavigateUrlFiel