C# Class ScreenToGif.Pages.Processing

The processing info page.
Inheritance: System.Windows.Forms.UserControl
Show file Open project: dbremner/ScreenToGif Class Usage Examples

Public Methods

Method Description
Defined ( string text ) : void

Sets the Text of the page to a defined state.

FinishedState ( string fileName, string title ) : void

Sets the "Encoding Done" state.

MaximumValue ( int max ) : void

The maximum value to the progress bar.

Processing ( ) : System

Starts a Processing page instance.

SetEncoding ( string text ) : void

Sets the Text of the page to a state that represents "Encoding".

SetFinishedState ( string fileName, string title ) : void

Sets the "Encoding Done" state.

SetMaximumValue ( int max ) : void

The maximum value to the progress bar.

SetPreEncoding ( string text ) : void

Sets the Text of the page to a state that is not Encoding.

SetStatus ( int num ) : void

Set the status.

Status ( int num ) : void

Set the status.

Undefined ( string text ) : void

Sets the Text of the page to a undefined state.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
BytesToString ( long byteCount ) : string
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

linkClose_LinkClicked ( object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e ) : void
linkOpenFile_LinkClicked ( object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e ) : void
linkOpenFile_MouseHover ( object sender, EventArgs e ) : void

Method Details

Defined() public static method

Sets the Text of the page to a defined state.
public static Defined ( string text ) : void
text string The text to show as title of the page.
return void

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

FinishedState() public static method

Sets the "Encoding Done" state.
public static FinishedState ( string fileName, string title ) : void
fileName string The name of the generated Gif file.
title string The title to show.
return void

MaximumValue() public static method

The maximum value to the progress bar.
public static MaximumValue ( int max ) : void
max int The amount of frames in the process.
return void

Processing() public method

Starts a Processing page instance.
public Processing ( ) : System
return System

SetEncoding() public method

Sets the Text of the page to a state that represents "Encoding".
public SetEncoding ( string text ) : void
text string The text to show as title of the page.
return void

SetFinishedState() public method

Sets the "Encoding Done" state.
public SetFinishedState ( string fileName, string title ) : void
fileName string The name of the generated Gif file.
title string The title to show.
return void

SetMaximumValue() public method

The maximum value to the progress bar.
public SetMaximumValue ( int max ) : void
max int The amount of frames in the process.
return void

SetPreEncoding() public method

Sets the Text of the page to a state that is not Encoding.
public SetPreEncoding ( string text ) : void
text string The text to show as title of the page.
return void

SetStatus() public method

Set the status.
public SetStatus ( int num ) : void
num int The actual status.
return void

Status() public static method

Set the status.
public static Status ( int num ) : void
num int The actual status.
return void

Undefined() public static method

Sets the Text of the page to a undefined state.
public static Undefined ( string text ) : void
text string The text to show as title of the page.
return void