C# Class ScreenToGif.Pages.Processing

The processing info page.
Inheritance: System.Windows.Forms.UserControl
Afficher le fichier Open project: dbremner/ScreenToGif Class Usage Examples

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode 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 méthode

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.
Résultat void

Dispose() protected méthode

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

FinishedState() public static méthode

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.
Résultat void

MaximumValue() public static méthode

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

Processing() public méthode

Starts a Processing page instance.
public Processing ( ) : System
Résultat System

SetEncoding() public méthode

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.
Résultat void

SetFinishedState() public méthode

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.
Résultat void

SetMaximumValue() public méthode

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

SetPreEncoding() public méthode

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.
Résultat void

SetStatus() public méthode

Set the status.
public SetStatus ( int num ) : void
num int The actual status.
Résultat void

Status() public static méthode

Set the status.
public static Status ( int num ) : void
num int The actual status.
Résultat void

Undefined() public static méthode

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.
Résultat void