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

  • Thread starter Thread starter Isaias Formacio Serna
  • Start date 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
 
It's actually an asyncronous call of a webservice, when the call ends, this
is what it does next.
 
Back
Top