Hello.
I have several forms with some shapes and one picturebox on them.
I update the values of the shapes and the picturebox once per minute.
When I open (show()) the form it takes up to 1 minute for the shapes and the picturebox to grasp the values. I mean: Whenever I open (show()) the form, the shapes and the picturebox appear with the initial values that are declared on the form design, and not the ones assigned by the program in a former loop.
I suppose I can avoid this by using
instead of
, but when I close the windowform by clicking on the Close Button everything is lost again, because then I'll have to open (show()) it again.
Any hints?
Can I convert the Close Button in a different event v.gr.
I have several forms with some shapes and one picturebox on them.
I update the values of the shapes and the picturebox once per minute.
When I open (show()) the form it takes up to 1 minute for the shapes and the picturebox to grasp the values. I mean: Whenever I open (show()) the form, the shapes and the picturebox appear with the initial values that are declared on the form design, and not the ones assigned by the program in a former loop.
I suppose I can avoid this by using
VB.NET:
Form.Visible = True
VB.NET:
Form.Show()
Any hints?
Can I convert the Close Button in a different event v.gr.
VB.NET:
Form.Visible = False