Live Chat Icon For mobile
Live Chat Icon

WinForms FAQ - Framework

Find answers for the most frequently asked questions
Expand All Collapse All

This MSDN article by Chris Sells provides a good introduction to the 1.1 framework:

http://msdn.microsoft.com/msdnmag/issues/03/03/WindowsForms/default.aspx

For a list of breaking changes in 1.1: http://www.gotdotnet.com/team/changeinfo/default.aspx

We will include more information here that is not covered in the above article. Please email any more info. you have to winformsfaq@syncfusion.com

  • After preliminary testing, it seems like the reordering of tab pages in the TabControl by the design time seems to be fixed.
  • Why do I have to use the STAThread attribute for my main method in my app.?
  • What are some common gotchas while trying to embed a Windows Forms Control in IE?
  • Permalink

    Microsoft has confirmed that calling EnableVisualStyles in the main method resulting in some ImageList corruption is a bug. There however seems to be a workaround posted by Martin Robins in the newsgroup which worksaround this issue:

    
    public virtual void Main() { 
    Application.EnableVisualStyles(); 
    // Calling DoEvents after the above method call seems to fix this issue:
    Application.DoEvents(); 
    Application.Run(new Form1()); 
    }
    
    Permalink

    Share with

    Couldn't find the FAQs you're looking for?

    Please submit your question and answer.