Re: Beginning GUI




"Lint Radley" <scanomatic@xxxxxxxxxxxxxxxxxxx> wrote in message news:7No%g.80657$073.14089@xxxxxxxxxxx
Hi Everyone,

I've done several C# console applications now, and feel comfortable with the language. Can anyone recommend a web site, book, etc which has information on starting to develop full GUI applications?

One thing that no one mentioned is that you don't necessarily create all your UI elements at design time. You may find it better to create and populate your forms at run time programmatically if the controls will vary based on software settings or authorizations. I find it a lot easy to deal with adding only the needed controls rather than disabling or disposing of un-needed controls.

Also you can consider using user controls if you are using tabs or a single workspace model that will have it's content change (e.g. like Outlook). Then you can switch the user controls in and out of the main work area rather than deal with one big form with loads of panels (and loads of code behind).

PS

.



Relevant Pages

  • Re: Beginning GUI
    ... your UI elements at design time. ... populate your forms at run time programmatically if the controls will vary ... Then you can switch the user controls in and out of the main ... loads of code behind). ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: User Controls: Did I go Nuts?
    ... > dynamically loads two user controls directly onto an aspx page (inserted ... > Server controls that appear on the user controls. ... > page that would trigger a postback. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: recompiling VS NET WinForms app with VS NET 2003 causing serious problems.
    ... It turns out pressing command button 'Access Keys' or Alt-character on one ... control seems to be randomly triggering the corresponding command button on ... > across 24 separate user controls. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Are User Controls Still Useful in our AJAXified World?
    ... Prior to AJAX being part of my skill set I was approaching this app from a "1.1 world view" where I was encapsulating [UI controls + associated code-behind logic]. ... Are user controls still a reasonable way to "package" the? ... This is how UpdatePanel work and because it's universal it's simply allows the whole page to be rendered and then cuts out the only HTML that is included between tags and send it to the browser. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How do you turn off painting/redraw for a user control?
    ... As to your use of Infragistics tools, be aware that Infragistics uses different principles to those of Windows Forms and tuning these controls can present a problem. ... Find great Windows Forms articles in Windows Forms Tips and Tricks ... I create everything in a panel is not linked to anything ... My user controls directly have very few triggering ...
    (microsoft.public.dotnet.framework.windowsforms.controls)