Sha256: dc1577781f2670094fd15a7a362efde235fa1cb3523ba2d7a7547adf0688fc55

Contents?: true

Size: 846 Bytes

Versions: 42

Compression:

Stored size: 846 Bytes

Contents

Public Class Form1
    Inherits System.Windows.Forms.Form

    Private t As New System.Timers.Timer(2000)

    Private Sub Form1_Load(ByVal sender As Object, _
          ByVal e As System.EventArgs) Handles MyBase.Load
        
        AddHandler t.Elapsed, AddressOf TimerFired
    End Sub

    Private Sub btnStart_Click(ByVal sender As System.Object, _ 
          ByVal e As System.EventArgs) Handles btnStart.Click
          
        t.Enabled = True
    End Sub

    Private Sub btnStop_Click(ByVal sender As System.Object, _
          ByVal e As System.EventArgs) Handles btnStop.Click
          
        t.Enabled = False
    End Sub

    Public Sub TimerFired(ByVal sender As Object, _ 
           ByVal e As System.Timers.ElapsedEventArgs)
           
        Label1.Text = "Signal Time = " & e.SignalTime.ToString
    End Sub
End Class

Version data entries

42 entries across 42 versions & 5 rubygems

Version Path
tdiary-4.2.1 vendor/bundle/ruby/2.2.0/gems/pygments.rb-0.6.3/vendor/pygments-main/tests/examplefiles/vbnet_test.bas
pygments.rb-0.6.3 vendor/pygments-main/tests/examplefiles/vbnet_test.bas
pygments.rb-0.6.2 vendor/pygments-main/tests/examplefiles/vbnet_test.bas
pygments.rb-0.6.1 vendor/pygments-main/tests/examplefiles/vbnet_test.bas
pygments.rb-0.6.0 vendor/pygments-main/tests/examplefiles/vbnet_test.bas
mortar-pygments.rb-0.5.7 vendor/pygments-main/tests/examplefiles/test.bas
mortar-pygments.rb-0.5.6 vendor/pygments-main/tests/examplefiles/test.bas
mortar-pygments.rb-0.5.5 vendor/pygments-main/tests/examplefiles/test.bas
pygments.rb-jruby-0.5.4.2 vendor/pygments-main/tests/examplefiles/test.bas
pygments.rb-jruby-0.5.4.1 vendor/pygments-main/tests/examplefiles/test.bas
pygments.rb-jruby-0.5.4 vendor/pygments-main/tests/examplefiles/test.bas
gitlab-pygments.rb-0.5.4 vendor/pygments-main/tests/examplefiles/test.bas
pygments.rb-0.5.4 vendor/pygments-main/tests/examplefiles/test.bas
pygments.rb-0.5.2 vendor/pygments-main/tests/examplefiles/test.bas
pygments.rb-0.5.1 vendor/pygments-main/tests/examplefiles/test.bas
pygments.rb-0.5.0 vendor/pygments-main/tests/examplefiles/test.bas
gitlab-pygments.rb-0.3.2 vendor/pygments-main/tests/examplefiles/test.bas
pygments.rb-0.4.2 vendor/pygments-main/tests/examplefiles/test.bas
pygments.rb-0.4.1 vendor/pygments-main/tests/examplefiles/test.bas
pygments.rb-0.3.7 vendor/pygments-main/tests/examplefiles/test.bas