"phoebe" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> hi all, I have some problem on a Windows application in .Net
Framework,just
> as below:
> private void button1_Click(object sender, System.EventArgs e)
> {
....
> }
....
> so, it seems the button1 still accept the click event while a webservice
is
> being called for the first time.
When a button is clicked, it raises a Click event. your button1_Click method
handles that event. Naturally, when you click the button multiple times,
button1_Click is called multiple times.
In order to answer your question, you have to ask yourself, "why would it
_not_ raise the Click event? What would prevent it?"
> But I expect only one messagebox would be
> showed even though I click very quickly.
Why did you expect that would happen? It happened the first time, didn't it?
And you didn't do anything to prevent it, did you?
--
John Saunders
Internet Engineer
(E-Mail Removed)