Torna al Thread

Public Sub New() ' Chiamata richiesta da Progettazione Windows Form. InitializeComponent() ' Aggiungere le eventuali istruzioni di inizializzazione dopo la chiamata a InitializeComponent(). timer = New Timer timer.Interval = 2000 timer.Enabled = True bStartInitFormMain = False End Sub Private Sub timer_Tick(ByVal sender As Object, ByVal e As System.EventArgs) Handles timer.Tick If bStartInitFormMain Then bStartInitFormMain = False timer.Enabled = False InitFormMain() Me.Hide() frmMain.Show() Me.Close() End If End Sub
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5