CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Threaded View

  1. #3
    Join Date
    Nov 2009
    Posts
    46

    Re: How to... StatusStrip Date, Clock

    Private Sub StatusStrip1_ItemClicked(ByVal sender As System.Object, ByVal e As System.Windows.Forms.ToolStripItemClickedEventArgs) Handles StatusStrip1.ItemClicked

    End Sub

    Private Sub ProgressBar_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ProgressBar.Click

    End Sub

    Private Sub DateLabel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DateLabel.Click

    End Sub

    Private Sub TimeLabel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TimeLabel.Click

    End Sub

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    DateLabel.Text = Now.ToString("dd MMMM yyyy")
    TimeLabel.Text = TimeString
    End Sub

    Private Sub Timer1_Tick_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
    DateLabel.Text = Now.ToString("dd MMMM yyyy")
    TimeLabel.Text = TimeString
    End Sub
    Last edited by MadSkillz; December 1st, 2009 at 03:31 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured