merge
This commit is contained in:
commit
265c08d5d5
@ -195,6 +195,7 @@ Public Class DocumentViewer
|
|||||||
Else
|
Else
|
||||||
btnPrint.Visible = True
|
btnPrint.Visible = True
|
||||||
End If
|
End If
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
Private Sub UpdateMainUi()
|
Private Sub UpdateMainUi()
|
||||||
Exit Sub
|
Exit Sub
|
||||||
@ -477,7 +478,7 @@ Public Class DocumentViewer
|
|||||||
heightInches = GdViewer.PageHeight / GdViewer.VerticalResolution
|
heightInches = GdViewer.PageHeight / GdViewer.VerticalResolution
|
||||||
End If
|
End If
|
||||||
|
|
||||||
Me.statusbar.Text = "Type: " + GetDocumentTypeLabel() + " - " +
|
Me.infoLabel.Text = "Type: " + GetDocumentTypeLabel() + " - " +
|
||||||
"Pagesize (zoll): " + Trim(Str(Math.Round(widthInches, 2))) + " × " + Trim(Str(Math.Round(heightInches, 2))) + " - " +
|
"Pagesize (zoll): " + Trim(Str(Math.Round(widthInches, 2))) + " × " + Trim(Str(Math.Round(heightInches, 2))) + " - " +
|
||||||
"Pagesize (pixel): " + Trim(Str(GdViewer.PageWidth)) + " × " + Trim(Str(GdViewer.PageHeight)) + " - " +
|
"Pagesize (pixel): " + Trim(Str(GdViewer.PageWidth)) + " × " + Trim(Str(GdViewer.PageHeight)) + " - " +
|
||||||
"Horizontal resolution: " + Trim(Str(Math.Round(GdViewer.HorizontalResolution, 2))) + " DPI - " +
|
"Horizontal resolution: " + Trim(Str(Math.Round(GdViewer.HorizontalResolution, 2))) + " DPI - " +
|
||||||
|
|||||||
12
GUIs.Test.DocumentViewerTest/Form1.Designer.vb
generated
12
GUIs.Test.DocumentViewerTest/Form1.Designer.vb
generated
@ -51,20 +51,20 @@ Partial Class Form1
|
|||||||
'
|
'
|
||||||
'Button2
|
'Button2
|
||||||
'
|
'
|
||||||
Me.Button2.Location = New System.Drawing.Point(711, 9)
|
Me.Button2.Location = New System.Drawing.Point(12, 38)
|
||||||
Me.Button2.Name = "Button2"
|
Me.Button2.Name = "Button2"
|
||||||
Me.Button2.Size = New System.Drawing.Size(77, 23)
|
Me.Button2.Size = New System.Drawing.Size(637, 23)
|
||||||
Me.Button2.TabIndex = 2
|
Me.Button2.TabIndex = 2
|
||||||
Me.Button2.Text = "Load Path"
|
Me.Button2.Text = "Load Form3 which loads Form4"
|
||||||
Me.Button2.UseVisualStyleBackColor = True
|
Me.Button2.UseVisualStyleBackColor = True
|
||||||
'
|
'
|
||||||
'Button3
|
'Button3
|
||||||
'
|
'
|
||||||
Me.Button3.Location = New System.Drawing.Point(711, 38)
|
Me.Button3.Location = New System.Drawing.Point(12, 67)
|
||||||
Me.Button3.Name = "Button3"
|
Me.Button3.Name = "Button3"
|
||||||
Me.Button3.Size = New System.Drawing.Size(77, 23)
|
Me.Button3.Size = New System.Drawing.Size(637, 23)
|
||||||
Me.Button3.TabIndex = 2
|
Me.Button3.TabIndex = 2
|
||||||
Me.Button3.Text = "Load Path"
|
Me.Button3.Text = "Load Form4"
|
||||||
Me.Button3.UseVisualStyleBackColor = True
|
Me.Button3.UseVisualStyleBackColor = True
|
||||||
'
|
'
|
||||||
'Form1
|
'Form1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user