C datagridview rowvalidating cancel


Showing the messagebox in the validating event shouldn't cause any problems.

Most of the problems come from what you do in response of the answer to the messagebox...

A datagridview appears to me to be a complex set of controls within which the internal focus can shift from control to control.

Hope you don't mind Peter ;-) I don't think that displaying a Message Box in a Row Validating event would, OF ITSELF, cause re-firing of that event.

Program flow would simply move from the event's sub to the (modal) messagebox and then straight back to the next succeeding line in the event's sub.

But such an event's sub is unlikely only to show a Message Box and it is fairly easy to see how code within that sub could itself cause re-firing.

This is because "focus" is an intermediate state when that event fires. That row is only "being left" because it is going somewhere else. So the system then raises the Row Validating event. writing debug output - you will see that the Row Leave event is fired before the Row Validating event but that doesn't really invalidate the above description because the Row Validating event has an e.cancel argument which, if set to True, is going to roll-back the focus changes.That is, the system gets a message that focus is to move to yet somewhere else. But to go somewhere else, it has to leave where it is at the moment: where's that? So I think the answer to your first question is No: showing a Message Box does not, OF ITSELF, have any side effects.



  1. Pingback:

  2. eric   •  

    however, she's not pleased at all with what zuzana z has prepared for her, and after some arguing this bitchy bride to be even throws her gloves Eurobabe superstars tarra white and stacy silver are admiring their large strap-ons, and just starting to get into each other when an unsuspecting samantha jolie shows up and is taken on a rough ride by two of europe's most messed up (and fashionable) chi They may look classy in their fancy outfits, but the truth is they're all looking for piss love any chance they get, because they know there's nothing better than taking a shot of piss, a nice, warm golden shower, while getting their pussies stuffed with Messes and general sloppiness turn these girls on hardcore, so they're not only getting creamed supreme but also all over each other, rubbing all that cum in and totally trashing up those sexy outfits and amazing bodies of theirs under showers of sticky c You'll hardly recognize this beauty when her face is blasted in fantasy cum, and she loves it all so much she makes sure her purple panties and damn near everything else are covered in sweet cum in this very messy bathroom solo scene!

  3. eric   •  

    'Spinoza, for instance, and Epstein.'Mother looked at me a little sadly.

  4. eric   •  

    I'm not saying I'd turn down the chance to suck Chris Pine's big schlong - but there may be some red flags there that would make it a one-off event - just to remember fondly and wank-off to in my golden years. What do ya say - it'll be like Saturday night at The Rusty Anchor again?

  5. eric   •  

    By going through each snapshot, you will easily be able to choose a girl for you.

  6. eric   •  

    This holds true for same sex matches, as well as for those who are on the lookout for friendhips.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>