Home  |  Index  |  Dotnet4all Snippets  |  Submit resources
About  |  Mail us  
Dotnet4all Logo

  To suspend the events (Tuesday, December 21, 2004)




Found the following interesting discussion in the Newsgroups:

To suspend the events
by:Stefano

There's a metod to suspend event's form(or control in general) raising?



 Reply:
by:Cor Ligthert

 Hi Stefano,

A lot, setting a switch and for that you can look to the
static myswitch as boolean
Which you can use inside a procedure while it stays static (will not be
garbagded)

Or you can use the
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcn7/html/vaconwritingeventhandlers.asp

See the part Using Remove hanlder ............

I hope this helps?

Cor


 Reply:
by:hirf-spam-me-here@gmx.at (Herfried K. Wagner [MVP])

 * "Stefano" <stefano1856*no*spam@libero.it> scripsit:
> There's a metod to suspend event's form(or control in general) raising?

Disable the form.

--
Herfried K. Wagner [MVP]


 Reply:
by:Stefano

 With this I've tried but the events there're yet








0 Comments:

Post a Comment

 
Previous Posts
    - Get network status through WMI
    - Big red cross in DataGrid.. ?
    - Check Windows Services are still running OK
    - Monitor mouse events in application
    - Project deploy
    - Pull Non-VB.net program into focus and send keys.
    - VERY weird variable behavior
    - How can i return a icon image of a file through op...
    - non-shared member of a class
    - Visual Studio Hangs when New Project invoked

Archives
    - 10/03/2004 - 10/10/2004
    - 10/10/2004 - 10/17/2004
    - 10/17/2004 - 10/24/2004
    - 10/24/2004 - 10/31/2004
    - 10/31/2004 - 11/07/2004
    - 11/21/2004 - 11/28/2004
    - 11/28/2004 - 12/05/2004
    - 12/05/2004 - 12/12/2004
    - 12/12/2004 - 12/19/2004
    - 12/19/2004 - 12/26/2004
    - 12/26/2004 - 01/02/2005
    - 01/23/2005 - 01/30/2005
    - 01/01/2006 - 01/08/2006
    - 09/24/2006 - 10/01/2006

Disclaimer & Terms of Use  | DotNet4All.Com concept & © 2004 - 2007 by  Zelders²  - Holland