Textbox.Text = "" <-- freezes my app

  • Thread starter Isaias Formacio Serna
  • Start date
I

Isaias Formacio Serna

Hi, I have this code:

{



if (this._user!= null)
{
this.txtPassword.Text = "";
frmOperations FormOperations = new frmOperations(this);
FormOperations.ShowDialog();
//****
StatBar.Reset();
this.btnAccept.Enabled = true;
}

The problem is on the line this.txtPassword.Text, after this line the app
freezes, I know the problem is in this line because I've moved that same
line to the place where the asteriks are and it also freezes there, I've
deleted that line of code and the app runs perfectly. Is this a bug??? Does
anybody know about this kind of problems?

Thanks in advance,

Isaias Formacio
 
I

Isaias Formacio Serna

It's actually an asyncronous call of a webservice, when the call ends, this
is what it does next.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top