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:

For a list of breaking changes in 1.1:

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

  • 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() { 
    // Calling DoEvents after the above method call seems to fix this issue:
    Application.Run(new Form1()); 

    Share with

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

    Please submit your question and answer.