I just got asked the following in a private email. 
Is there some GUI design document with .NET ? I have tried to use the flow layout panel but the use of panels inside other panels resulted in akward stuff, so I guess there are quite a few things to know before delving into that !!! :-)

Has anyone got a pointer handy to the latest and best introductions to WinForms programming?  My WinForms knowledge dates from .NET v1.x and I want to be sure to send a pointer to the latest docuements

Thanks!

Don

------------------------------------------------------------------------------------------------------------------------

Looking for Winform tutorial in Visual F#, the following site might help you [link:www.aprogrammingguide.tk]

By on 9/10/2010 11:34 PM ()

The following are useful on WinForms 2.0 and specifically layout controls for flow or table:

That last link is a sample specifically on the FlowLayoutPanel control, one of the new container controls for .NET WinForms 2.0.

The Sells and Weinhardt book on WinForms 2.0 is also useful.

By on 5/1/2006 5:47 AM ()

Thank you!

So good things!

By on 5/24/2006 11:04 AM ()

I always found using the visual studio design to design forms graphically and then translating the C# to F# works quite well. I believe the designers are turned on in even the free express versions.

Also there’s no shame in using a designer to create a shell UI in C# adding minimal C# to expose some events and properties as public then adding the real functionality in F#. That’s what having nice language interpo is all about.

By on 5/1/2006 6:58 AM ()

Thanks guys! I'll pass a link to this discussion on to Julien.

Don

By on 5/1/2006 1:15 PM ()

Don,

While I think F# in Winforms 2.0 is useful, I'm really interested in F# and WPF. The reason that I mention the following points is that the effort to build up F# collateral for Winforms 2.0 usage in general form may be expensive and it would appear that WPF changes things dramatically.

Here are a few observations:

  1. I haven't had a chance to dig in as far as I'd like, but one of the guys at work has done considerable research on WPF and is a maniac Winforms 2.0 guy. I've had a chance to look at some of what he's mentioned.
  2. WPF seems to abandon much of the original premises of Winforms 2.0 for control containment.
  3. Properties seem to be generated on the fly for controls in WPF.
  4. Control containment determines the properties that are exposed in WPF. For example, if a control is placed in a grid, then the grid cell position is held for "location" properties. If a control is placed in a flow, then the absolute (relative to the container) x, y positions are used for "location" properties. The superset of properties for considered use for a control within a container is not built at design time.
  5. Other characteristics of control USAGE will also determine what properties will be built for WPF usage at runtime.
  6. WPF appears to make heavy use of a decorator/strategy pattern for these property emissions. Essentially, this means that you can write a control with regular event handlers that can take advantage of properties that don't exist at design time, but you know will exist at runtime.
  7. There also appears to be heavier usage of Inversion of Control and Dependency Injection in WPF than there had been in Winforms 2.0.

I wish Sells & Griffiths would cover this stuff more in detail. I can only hope that Petzold does his usual magic and gives us a deeper picture of this stuff in his new book. But I will say that the Sells & Griffiths book is the ONLY book to date that has any WPF substance at all.

---O

By on 5/14/2006 9:52 PM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper