PageRenderTime 23ms CodeModel.GetById 18ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/Forms/frmProgressScreen.vb

#
Visual Basic | 30 lines | 8 code | 9 blank | 13 comment | 0 complexity | f8734d3935ea9b4579842c246119b11e MD5 | raw file
 1Public NotInheritable Class frmProgressScreen
 2
 3    'TODO: This form can easily be set as the splash screen for the application by going to the "Application" tab
 4    '  of the Project Designer ("Properties" under the "Project" menu).
 5
 6
 7    Private Sub ProgressScreen_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
 8        Try
 9            'Set up the dialog text at runtime according to the application's assembly information.  
10
11            'TODO: Customize the application's assembly information in the "Application" pane of the project 
12            '  properties dialog (under the "Project" menu).
13
14            'Application title
15
16
17            'Format the version information using the text set into the Version control at design time as the
18            '  formatting string.  This allows for effective localization if desired.
19            '  Build and revision information could be included by using the following code and changing the 
20            '  Version control's designtime text to "Version {0}.{1:00}.{2}.{3}" or something similar.  See
21            '  String.Format() in Help for more information.
22            '
23            '    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)
24
25        Catch ex As Exception
26            ExceptionHandler.LogError(ex)
27        End Try
28    End Sub
29
30End Class