Information Label

Posted by caisenm on Stack Overflow See other posts from Stack Overflow or by caisenm
Published on 2010-02-19T15:29:30Z Indexed on 2010/03/22 7:31 UTC
Read the original article Hit count: 354

Filed under:
|
|

I am trying to make an information label that should display the events the application doing.

deleting data, reading data, writing data, connection to db. etc..

I've added a label to my form and I am changing its text property for each operation like:

label1.Text = "stored procedure is being executed..";

But, in the run time the text of the label does not change. I've tried to add the method

Application.DoEvents();

to every place I've changed the label's text property. It works fine. But it looks silly. So I've tried to add this method to my label's "TextChanged" event. But it does not work! Am I doing something wrong? Or,

is there any efficient way to make an information label?

© Stack Overflow or respective owner

Related posts about c#

Related posts about label