Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What's wrong with my class
Message
De
02/09/2005 09:58:11
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
02/09/2005 09:50:12
Information générale
Forum:
ASP.NET
Catégorie:
Conception classe
Divers
Thread ID:
01046121
Message ID:
01046203
Vues:
15
>Ok here is what I see when I run my code.
>
>During the first run, my messagebox displays an empty string regardless of what I select in the contextmenu.
>And if I select another student name from the contextmenu, the messagebox displays the studid of the previously selected student.
>
>I just can't understand why this behavior isn't manifested in your system. I have VS.net 2003 on my system.
>
>What I'm suspecting here is that somehow, for reasons I don't understand, is that my event handler executed after the [MsgBox(mystud.studid)] line in my main form. If this is the case, is there any solution?
>
>Thanks...

To pose a solution I need the problem first. What I see is context menu is shown and correct id (at first and subsequent selections) is shown after "delay" message.
You could put a MessageBox in handler to see order of execution. Have you tried to replace MsgBox() with MessageBox.Show()? I don't know if that would make a difference.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform