DoubleBuffe and OptimizedDoubleBuffer

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Rodrigo Ferreira

    DoubleBuffe and OptimizedDoubleBuffer

    In my User Control (.NET Framework 1.1) i use in SetStyle method the
    DoubleBuffer property.

    When i build my project in VS.2005 ocurred this warning:

    " 'System.Windows .Forms.ControlS tyles.DoubleBuf fer' is obsolete: 'This
    enumeration value has been deprecated. Use OptimizedDouble Buffer instead. "


    My problem is: if the user control will run in .net framework 1.1 i have to
    set the property to DoubleBuffer and if the control will run in .net
    framework 2.0 i have to set the property to OptimizedDouble Buffer... Or
    either, i must have two versions of the control. Is that correct?


Working...