Application.DoEvents()

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Morten Wennevik

    #16
    Re: Application.DoE vents()

    Hi Marc,

    I stand corrected, the version I found on MSDN was the JScript versionit,
    but I see there is another version for windows.forms.

    Find official documentation, practical know-how, and expert guidance for builders working and troubleshooting in Microsoft products.


    And JScript didn't sound like a good idea to be using inside winforms.



    On Wed, 18 Oct 2006 14:03:05 +0200, Marc Gravell <marc.gravell@g mail.com
    wrote:
    Additional:
    >
    "Remarks" from MSDN2 (MSDN differs by a "don't" <="do not")
    Represents a delegate that can execute any method in managed code that is declared void and takes no parameters.

    >
    <quote>MethodIn voker provides a simple delegate that is used to invokea
    method with a void parameter list. This delegate can be used when making
    calls to a control's Invoke method, or when you need a simple delegate
    but
    do not want to define one yourself.</quote>
    >
    Sounds fairly public (non-internal) to me... and it explicitely states
    that
    it *is* suitable for use with "a control's Invoke method".
    >
    Marc
    >
    >


    --
    Happy Coding!
    Morten Wennevik [C# MVP]

    Comment

    • Marc Gravell

      #17
      Re: Application.DoE vents()

      The mists part and all becomes clear...

      Easily done... an unfortunate name conflict, and I concur: I doubt that
      this version of MethodInvoker would be supported by winforms ;-p

      If it helps, I've had much bigger "oops" moments myself (of my own
      doing) ;-p

      Regards,

      Marc

      Comment

      Working...