vs 2008 any improvements?
am 07.11.2007 23:03:24 von JohnHi
Have there been any improvements in windows forms programming specially in
terms of better or new controls?
Many Thanks
Regards
Hi
Have there been any improvements in windows forms programming specially in
terms of better or new controls?
Many Thanks
Regards
VB 9.0 in .Net 3.5 have many many new method.
http://msdn2.microsoft.com/en-us/library/ms364068(VS.80).asp x
"John"
news:O$6BBqYIIHA.4228@TK2MSFTNGP02.phx.gbl...
> Hi
>
> Have there been any improvements in windows forms programming specially in
> terms of better or new controls?
>
> Many Thanks
>
> Regards
>
>
>
>
On Nov 7, 3:03 pm, "John"
> Hi
>
> Have there been any improvements in windows forms programming specially in
> terms of better or new controls?
>
> Many Thanks
>
> Regards
I wouldn't expect a lot of changes to System.Windows.Forms. That is
pretty much a dying technology. Moving forward, it's the WPF stuff
that is getting all the play from MS. System.Windows.
--
Tom Shelton
What is WPF stuff all about?
Thanks
Regards
"Tom Shelton"
news:1194488987.789276.40600@z9g2000hsf.googlegroups.com...
> On Nov 7, 3:03 pm, "John"
>> Hi
>>
>> Have there been any improvements in windows forms programming specially
>> in
>> terms of better or new controls?
>>
>> Many Thanks
>>
>> Regards
>
> I wouldn't expect a lot of changes to System.Windows.Forms. That is
> pretty much a dying technology. Moving forward, it's the WPF stuff
> that is getting all the play from MS. System.Windows.
>
> --
> Tom Shelton
>
"Eternal Snow"
news:43B32079-420F-422C-9560-2638C5BFF98C@microsoft.com...
> VB 9.0 in .Net 3.5 have many many new method.
>
> http://msdn2.microsoft.com/en-us/library/ms364068(VS.80).asp x
I can't say I like any of those features, except maybe the inline xml. I
seems a lot of the new features are polluting the language and making it
more complicated than necessary.
Michael
On Nov 7, 7:44 pm, "John"
> What is WPF stuff all about?
>
> Thanks
>
> Regards
>
WPF - Windows Presentation Foundation. It's the new UI programming
framework.
http://wpf.netfx3.com/
HTH
--
Tom Shelton
Michael C
> "Eternal Snow"
> news:43B32079-420F-422C-9560-2638C5BFF98C@microsoft.com...
> > VB 9.0 in .Net 3.5 have many many new method.
> >
> > http://msdn2.microsoft.com/en-us/library/ms364068(VS.80).asp x
>
> I can't say I like any of those features, except maybe the inline xml. I
> seems a lot of the new features are polluting the language and making it
> more complicated than necessary.
Have you actually *used* LINQ at all? I was skeptical at first, but now
I'm definitely a "true believer".
Here's an example of how much easier it can make life (sample code is
in C#):
http://msmvps.com/blogs/jon.skeet/archive/2007/11/02/i-love- linq-
simplifying-a-tedious-task.aspx
The equivalent code without LINQ would have been significantly longer,
harder to get right, and harder to understand.
All the features definitely add complexity to the language (although
ironically the one feature I don't particularly rate highly is inline
XML - which isn't in C# 3 anyway) but the extra value is well worth it
IMO.
--
Jon Skeet -
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
WPF is largely an XML UI with some additional GUI goodness thrown in. It
causes complete separation of UI and code, as MS has tried to do with the
web (ASP.NET). With Silverlight 1.1, it will also be possible to migrate
your windows apps to the web (with a subset of the GUI goodness, of course).
Thus, you can develop both windows apps and web apps at the same time.
I, however, somewhat disagree with Tom, as adoption will take quite some
time. If pressure is put on from the community, you will see more windows
controls. Until then, third party is the way to go.
As for what is new that is useful, here are some bits:
1. Greater stability in the IDE (still not totally stable as of beta 2, but
better than 2005)
2. LINQ - really a language addition
3. Surfaces for WPF and other .NET 3.0/3.5 bits
4. Basic testing tools moved down to Pro version
There is more.
--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA
*************************************************
| Think outside the box!
|
*************************************************
"John"
news:uzJS5EbIIHA.5764@TK2MSFTNGP06.phx.gbl...
> What is WPF stuff all about?
>
> Thanks
>
> Regards
>
> "Tom Shelton"
> news:1194488987.789276.40600@z9g2000hsf.googlegroups.com...
>> On Nov 7, 3:03 pm, "John"
>>> Hi
>>>
>>> Have there been any improvements in windows forms programming specially
>>> in
>>> terms of better or new controls?
>>>
>>> Many Thanks
>>>
>>> Regards
>>
>> I wouldn't expect a lot of changes to System.Windows.Forms. That is
>> pretty much a dying technology. Moving forward, it's the WPF stuff
>> that is getting all the play from MS. System.Windows.
>>
>> --
>> Tom Shelton
>>
>
>
On Nov 8, 9:18 am, "Cowboy \(Gregory A. Beamer\)"
> WPF is largely an XML UI with some additional GUI goodness thrown in. It
> causes complete separation of UI and code, as MS has tried to do with the
> web (ASP.NET). With Silverlight 1.1, it will also be possible to migrate
> your windows apps to the web (with a subset of the GUI goodness, of course).
> Thus, you can develop both windows apps and web apps at the same time.
>
> I, however, somewhat disagree with Tom, as adoption will take quite some
> time. If pressure is put on from the community, you will see more windows
> controls. Until then, third party is the way to go.
>
I do agree that it will be some time before WPF is fully adopted. The
beauty right now is that you aren't really tied to just using one or
the other. You can use Windows forms controls in WPF, and of course
you can use WPF controls in Windows forms. The point I was making is
that, MS has pretty much put windows forms out to pasture - at least
from a new development standpoint.
--
Tom Shelton
"Jon Skeet [C# MVP]"
news:MPG.219cdcc1f71292f65dd@msnews.microsoft.com...
> Have you actually *used* LINQ at all? I was skeptical at first, but now
> I'm definitely a "true believer".
To be honest I haven't but it reminds me of the days of file io in vb6.
Open File "C:\X" as Binary Something For Append Something (Can't remember
exact details)
> Here's an example of how much easier it can make life (sample code is
> in C#):
>
> http://msmvps.com/blogs/jon.skeet/archive/2007/11/02/i-love- linq-
> simplifying-a-tedious-task.aspx
>
> The equivalent code without LINQ would have been significantly longer,
> harder to get right, and harder to understand.
I more dislike the syntax than the functionality. It's a *massive* break
from any other coding in C#.
> All the features definitely add complexity to the language (although
> ironically the one feature I don't particularly rate highly is inline
> XML - which isn't in C# 3 anyway) but the extra value is well worth it
> IMO.
I'm not that keen on XML myself. :-)
Michael
Michael C
> "Jon Skeet [C# MVP]"
> news:MPG.219cdcc1f71292f65dd@msnews.microsoft.com...
> > Have you actually *used* LINQ at all? I was skeptical at first, but now
> > I'm definitely a "true believer".
>
> To be honest I haven't but it reminds me of the days of file io in vb6.
>
> Open File "C:\X" as Binary Something For Append Something (Can't remember
> exact details)
The difference is that in this case you're able to do a lot more with a
lot less code - it's not making things *more* verbose, it's making them
*less* verbose.
> > Here's an example of how much easier it can make life (sample code is
> > in C#):
> >
> > http://msmvps.com/blogs/jon.skeet/archive/2007/11/02/i-love- linq-
> > simplifying-a-tedious-task.aspx
> >
> > The equivalent code without LINQ would have been significantly longer,
> > harder to get right, and harder to understand.
>
> I more dislike the syntax than the functionality. It's a *massive* break
> from any other coding in C#.
Well, you can avoid query expressions but still take advantage of LINQ:
dataSource.Where (x => x.Property=="Foo")
.Select (x => new { Name=x.FirstName, x.Age });
(etc)
This is still *somewhat* different from C# 2, and it will certainly
take some learning - but the benefits are massive.
--
Jon Skeet -
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too