C# Class Handbrake.frmQueue

Mostra file Open project: caius/Handbrake Class Usage Examples

Public Methods

Method Description
SetQueue ( ) : void

Initializes the Queue list with the Arraylist from the Queue class

Show ( ) : void

Initializes the Queue list, then shows and activates the window

Show ( bool doSetQueue ) : void

Initializes the Queue list only if doSetQueue is true, then shows and activates the window

frmQueue ( IQueueProcessor q, frmMain mw ) : System

Initializes a new instance of the frmQueue class.

Protected Methods

Method Description
OnClosing ( CancelEventArgs e ) : void

Hide's the window when the user tries to "x" out of the window instead of closing it.

Private Methods

Method Description
BtnEncodeClick ( object sender, EventArgs e ) : void

Handle the Encode button Click event

BtnPauseClick ( object sender, EventArgs e ) : void

Handle the Pause button click event.

CompleteOptionChanged ( object sender, EventArgs e ) : void

Change the OnComplete option setting.

DeleteSelectedItems ( ) : void

Delete the currently selected items on the queue

EncodeQueue_EncodeStatusChanged ( object sender, HandBrake e ) : void

Display the Encode Status

ListQueueDeleteKey ( object sender, KeyEventArgs e ) : void

Handle the delete keyboard press

MnuBatchClick ( object sender, EventArgs e ) : void

Create a batch script

MnuDeleteClick ( object sender, EventArgs e ) : void

Handle the delete Menu Item

MnuDownClick ( object sender, EventArgs e ) : void

Handle the Move down Menu Item

MnuEditClick ( object sender, EventArgs e ) : void

Edit a job

MnuExportClick ( object sender, EventArgs e ) : void

Export Queue

MnuImportClick ( object sender, EventArgs e ) : void

Import Queue

MnuUpClick ( object sender, EventArgs e ) : void

Handle the Move Up Menu Item

MoveDown ( ) : void

Move items down in the queue

MoveUp ( ) : void

Move items up in the queue

QueueOnEncodeStart ( object sender, EventArgs e ) : void

Handle the Encode Started event

QueueOnPaused ( object sender, EventArgs e ) : void

Handle the Queue Paused event

QueueOnQueueFinished ( object sender, EventArgs e ) : void

Handle the Queue Finished event.

RedrawQueue ( ) : void

Redraw the Queue window with the latest information about HandBrakes status

ResetEncodeText ( ) : void

Reset the current job text

ResetQueue ( ) : void

Reset the Queue Window display

SetCurrentEncodeInformation ( ) : void

Set the window up with the current encode information

SetUiEncodeFinished ( ) : void

Setup the UI to indicate that an encode has finished.

SetUiEncodeStarted ( ) : void

Setup the UI to show that an encode has started

UpdateStatusLabel ( ) : void

Update the Display

UpdateUiElementsOnQueueChange ( ) : void

Update the UI elements

mnuClearAll_Click ( object sender, EventArgs e ) : void

Clear down the Queue

mnuClearCompleted_Click ( object sender, EventArgs e ) : void

Clear all completed items

mnu_Retry_Click ( object sender, EventArgs e ) : void

Retry Job Menu Item

queue_EncodeEnded ( object sender, EventArgs e ) : void

Encode Ended

queue_EncodeStarted ( object sender, EventArgs e ) : void

Queue Started

queue_QueueListChanged ( object sender, EventArgs e ) : void

Queue Changed

Method Details

OnClosing() protected method

Hide's the window when the user tries to "x" out of the window instead of closing it.
protected OnClosing ( CancelEventArgs e ) : void
e CancelEventArgs /// The e. ///
return void

SetQueue() public method

Initializes the Queue list with the Arraylist from the Queue class
public SetQueue ( ) : void
return void

Show() public method

Initializes the Queue list, then shows and activates the window
public Show ( ) : void
return void

Show() public method

Initializes the Queue list only if doSetQueue is true, then shows and activates the window
public Show ( bool doSetQueue ) : void
doSetQueue bool Indicates whether to call setQueue() before showing the window
return void

frmQueue() public method

Initializes a new instance of the frmQueue class.
public frmQueue ( IQueueProcessor q, frmMain mw ) : System
q IQueueProcessor /// An instance of the queue service. ///
mw frmMain /// The main window. ///
return System