diff options
author | sr55 <[email protected]> | 2007-06-22 21:48:46 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2007-06-22 21:48:46 +0000 |
commit | ec43136420f3c2be11e3b70caa15567f2a717a71 (patch) | |
tree | 4e9d0634e075ff903089796e29e73433b31ae80a | |
parent | 5712c9dd99066bcc9d72892f548b5be280c17352 (diff) |
WinGUI:
- Small text changes on the read DVV window.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@632 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r-- | win/Handbrake/frmMain.vb | 12 | ||||
-rw-r--r-- | win/Handbrake/frmReadDVD.Designer.vb | 30 | ||||
-rw-r--r-- | win/Handbrake/frmReadDVD.vb | 1 |
3 files changed, 28 insertions, 15 deletions
diff --git a/win/Handbrake/frmMain.vb b/win/Handbrake/frmMain.vb index e528c0f24..9ecb13cc3 100644 --- a/win/Handbrake/frmMain.vb +++ b/win/Handbrake/frmMain.vb @@ -480,15 +480,8 @@ Public Class frmMain Private Sub btn_queue_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_queue.Click
Dim query As String
- 'Dim ApplicationPath As String = Application.StartupPath
- 'If (QueryEditorText.Text = "") Then
query = GenerateTheQuery()
frmQueue.list_queue.Items.Add(query)
- ' Else
- ' query = QueryEditorText.Text
- ' frmQueue.list_queue.Items.Add(query)
- ' End If
-
frmQueue.Show()
End Sub
@@ -514,6 +507,11 @@ Public Class frmMain query = QueryEditorText.Text
Shell("""" + ApplicationPath + "\hbcli.exe""" + query)
MessageBox.Show("The Handbrake encoder (CLI) will now start and should be encoding your video.", "ALERT", MessageBoxButtons.OK, MessageBoxIcon.Asterisk)
+
+ 'Lets start the process monitor to keep an eye on things.
+ hbcliMonitor = New ProcessMonitor()
+ Dim t = New Thread(AddressOf hbcliMonitor.tmrProcCheck)
+ t.Start()
End If
Catch ex As Exception
MessageBox.Show("Unable to Launch the Encoder.")
diff --git a/win/Handbrake/frmReadDVD.Designer.vb b/win/Handbrake/frmReadDVD.Designer.vb index 8faa4ae64..007a7cf9c 100644 --- a/win/Handbrake/frmReadDVD.Designer.vb +++ b/win/Handbrake/frmReadDVD.Designer.vb @@ -24,17 +24,19 @@ Partial Class frmReadDVD Me.Label2 = New System.Windows.Forms.Label
Me.Label3 = New System.Windows.Forms.Label
Me.btn_ok = New System.Windows.Forms.Button
+ Me.Label4 = New System.Windows.Forms.Label
Me.SuspendLayout()
'
'Label1
'
Me.Label1.AutoSize = True
- Me.Label1.Font = New System.Drawing.Font("Verdana", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
- Me.Label1.Location = New System.Drawing.Point(81, 42)
+ Me.Label1.Font = New System.Drawing.Font("Verdana", 6.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
+ Me.Label1.Location = New System.Drawing.Point(6, 94)
Me.Label1.Name = "Label1"
- Me.Label1.Size = New System.Drawing.Size(364, 13)
+ Me.Label1.Size = New System.Drawing.Size(457, 12)
Me.Label1.TabIndex = 20
- Me.Label1.Text = "Please click OK to continue, This process may take a moment."
+ Me.Label1.Text = "Note: After pressing OK the window will remain open until the CLI has completed t" & _
+ "he scan."
'
'Label2
'
@@ -52,9 +54,9 @@ Partial Class frmReadDVD Me.Label3.Font = New System.Drawing.Font("Verdana", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.Label3.Location = New System.Drawing.Point(81, 21)
Me.Label3.Name = "Label3"
- Me.Label3.Size = New System.Drawing.Size(124, 13)
+ Me.Label3.Size = New System.Drawing.Size(231, 13)
Me.Label3.TabIndex = 22
- Me.Label3.Text = "Reading Disc Data..."
+ Me.Label3.Text = "The CLI is currently reading the DVD..."
'
'btn_ok
'
@@ -63,7 +65,7 @@ Partial Class frmReadDVD Me.btn_ok.FlatStyle = System.Windows.Forms.FlatStyle.Flat
Me.btn_ok.Font = New System.Drawing.Font("Verdana", 8.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.btn_ok.ForeColor = System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(128, Byte), Integer), CType(CType(0, Byte), Integer))
- Me.btn_ok.Location = New System.Drawing.Point(454, 69)
+ Me.btn_ok.Location = New System.Drawing.Point(406, 64)
Me.btn_ok.Name = "btn_ok"
Me.btn_ok.Size = New System.Drawing.Size(56, 22)
Me.btn_ok.TabIndex = 23
@@ -71,13 +73,24 @@ Partial Class frmReadDVD Me.btn_ok.Text = "Ok"
Me.btn_ok.UseVisualStyleBackColor = False
'
+ 'Label4
+ '
+ Me.Label4.AutoSize = True
+ Me.Label4.Font = New System.Drawing.Font("Verdana", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
+ Me.Label4.Location = New System.Drawing.Point(81, 43)
+ Me.Label4.Name = "Label4"
+ Me.Label4.Size = New System.Drawing.Size(130, 13)
+ Me.Label4.TabIndex = 24
+ Me.Label4.Text = "Press OK to continue."
+ '
'frmReadDVD
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.BackColor = System.Drawing.SystemColors.Control
- Me.ClientSize = New System.Drawing.Size(518, 98)
+ Me.ClientSize = New System.Drawing.Size(473, 116)
Me.ControlBox = False
+ Me.Controls.Add(Me.Label4)
Me.Controls.Add(Me.btn_ok)
Me.Controls.Add(Me.Label3)
Me.Controls.Add(Me.Label2)
@@ -98,4 +111,5 @@ Partial Class frmReadDVD Friend WithEvents Label2 As System.Windows.Forms.Label
Friend WithEvents Label3 As System.Windows.Forms.Label
Friend WithEvents btn_ok As System.Windows.Forms.Button
+ Friend WithEvents Label4 As System.Windows.Forms.Label
End Class
diff --git a/win/Handbrake/frmReadDVD.vb b/win/Handbrake/frmReadDVD.vb index 0a46d0b22..8d8c8f91c 100644 --- a/win/Handbrake/frmReadDVD.vb +++ b/win/Handbrake/frmReadDVD.vb @@ -19,6 +19,7 @@ Public Class frmReadDVD MessageBox.Show("Unable to launch the CLI encoder.", "ERROR", MessageBoxButtons.OK, MessageBoxIcon.Hand)
MessageBox.Show(ex.ToString)
End Try
+
End Sub
'#
|