/Forms/frmProgressScreen.vb

# · Visual Basic · 30 lines · 8 code · 9 blank · 13 comment · 0 complexity · f8734d3935ea9b4579842c246119b11e MD5 · raw file

  1. Public NotInheritable Class frmProgressScreen
  2. 'TODO: This form can easily be set as the splash screen for the application by going to the "Application" tab
  3. ' of the Project Designer ("Properties" under the "Project" menu).
  4. Private Sub ProgressScreen_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
  5. Try
  6. 'Set up the dialog text at runtime according to the application's assembly information.
  7. 'TODO: Customize the application's assembly information in the "Application" pane of the project
  8. ' properties dialog (under the "Project" menu).
  9. 'Application title
  10. 'Format the version information using the text set into the Version control at design time as the
  11. ' formatting string. This allows for effective localization if desired.
  12. ' Build and revision information could be included by using the following code and changing the
  13. ' Version control's designtime text to "Version {0}.{1:00}.{2}.{3}" or something similar. See
  14. ' String.Format() in Help for more information.
  15. '
  16. ' Version.Text = System.String.Format(Version.Text, My.Application.Info.Version.Major, My.Application.Info.Version.Minor, My.Application.Info.Version.Build, My.Application.Info.Version.Revision)
  17. Catch ex As Exception
  18. ExceptionHandler.LogError(ex)
  19. End Try
  20. End Sub
  21. End Class