feat: resizeCmdShow() function
This commit is contained in:
parent
8111d495e2
commit
726928a4df
24
frmTD_JIG.vb
24
frmTD_JIG.vb
@ -5932,10 +5932,7 @@ MEASURE_END:
|
|||||||
btnRunIQC.Enabled = True
|
btnRunIQC.Enabled = True
|
||||||
txbPV_Freq.Text = "N/A"
|
txbPV_Freq.Text = "N/A"
|
||||||
|
|
||||||
txbCmdWindow.Width = 505
|
resizeCmdWindow(505, 380, 513, 21)
|
||||||
txbCmdWindow.Height = 380
|
|
||||||
txbCmdWindow.Left = 513
|
|
||||||
txbCmdWindow.Top = 21
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub btPrintref_Click(sender As Object, e As EventArgs) Handles btPrintref.Click
|
Private Sub btPrintref_Click(sender As Object, e As EventArgs) Handles btPrintref.Click
|
||||||
@ -6109,20 +6106,15 @@ MEASURE_END:
|
|||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
'Private Sub showCmdWindow()
|
Private Sub resizeCmdWindow(width As Int32, height As Int32, left As Int32, top As Int32)
|
||||||
' txbCmdWindow.Width = 505
|
txbCmdWindow.Width = width
|
||||||
' txbCmdWindow.Height = 80
|
txbCmdWindow.Height = height
|
||||||
' txbCmdWindow.Left = 513
|
txbCmdWindow.Left = left
|
||||||
' txbCmdWindow.Top = 300
|
txbCmdWindow.Top = top
|
||||||
' txbCmdWindow.BringToFront()
|
End Sub
|
||||||
' txbCmdWindow.Visible = True
|
|
||||||
'End Sub
|
|
||||||
|
|
||||||
Private Sub showCmdWindow()
|
Private Sub showCmdWindow()
|
||||||
txbCmdWindow.Width = 505
|
resizeCmdWindow(505, 200, 513, 200)
|
||||||
txbCmdWindow.Height = 200
|
|
||||||
txbCmdWindow.Left = 513
|
|
||||||
txbCmdWindow.Top = 200
|
|
||||||
txbCmdWindow.BringToFront()
|
txbCmdWindow.BringToFront()
|
||||||
txbCmdWindow.Visible = True
|
txbCmdWindow.Visible = True
|
||||||
End Sub
|
End Sub
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user