Display result of function in label

closed account (Gy7oizwU)
Hi

I need to display a result of a function in my form. The function reads through a text file and gets a line. I want a label to display the result of the function when i open the form.I have no idea where to put the function though? (Im pretty new to windows forms).

Thanks
put it anywhere u like in any file as long as it is accessible.....
use setWindowText() to put the result into the label
What function are you using to read the text file?

I think he's using C# or some implementation of .NET.
Topic archived. No new replies allowed.