Form1
Form2: frmSkyDome
It runs the fisrt time fine. But labels won't update when new global
variables are calculated in Form1 unless I close Form2 and reopen it.
I wanr them to update live.
Code:
Friend SkyDome As New frmSkyDome() Private Sub btnSkyDome_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSkyDome.Click (Some Calcs that define global variables used to update Labels) SkyDome.Show() End Sub
Form2: frmSkyDome
Code:
frmSkyDome.Topmost=TRUE Private Sub frmSkyDome_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles MyBase.Paint LoadSkyDomeLabels() End Sub Friend Sub LoadSkyDomeLabels() (Does calcs and loads labels) End Sub
It runs the fisrt time fine. But labels won't update when new global
variables are calculated in Form1 unless I close Form2 and reopen it.
I wanr them to update live.
Comment