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
|
||||
txbPV_Freq.Text = "N/A"
|
||||
|
||||
txbCmdWindow.Width = 505
|
||||
txbCmdWindow.Height = 380
|
||||
txbCmdWindow.Left = 513
|
||||
txbCmdWindow.Top = 21
|
||||
resizeCmdWindow(505, 380, 513, 21)
|
||||
End Sub
|
||||
|
||||
Private Sub btPrintref_Click(sender As Object, e As EventArgs) Handles btPrintref.Click
|
||||
@ -6109,20 +6106,15 @@ MEASURE_END:
|
||||
End If
|
||||
End Sub
|
||||
|
||||
'Private Sub showCmdWindow()
|
||||
' txbCmdWindow.Width = 505
|
||||
' txbCmdWindow.Height = 80
|
||||
' txbCmdWindow.Left = 513
|
||||
' txbCmdWindow.Top = 300
|
||||
' txbCmdWindow.BringToFront()
|
||||
' txbCmdWindow.Visible = True
|
||||
'End Sub
|
||||
Private Sub resizeCmdWindow(width As Int32, height As Int32, left As Int32, top As Int32)
|
||||
txbCmdWindow.Width = width
|
||||
txbCmdWindow.Height = height
|
||||
txbCmdWindow.Left = left
|
||||
txbCmdWindow.Top = top
|
||||
End Sub
|
||||
|
||||
Private Sub showCmdWindow()
|
||||
txbCmdWindow.Width = 505
|
||||
txbCmdWindow.Height = 200
|
||||
txbCmdWindow.Left = 513
|
||||
txbCmdWindow.Top = 200
|
||||
resizeCmdWindow(505, 200, 513, 200)
|
||||
txbCmdWindow.BringToFront()
|
||||
txbCmdWindow.Visible = True
|
||||
End Sub
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user