C# Class ZeroInstall.MainForm

Inheritance: System.Windows.Forms.Form
Exibir arquivo Open project: 0install/0install-win Class Usage Examples

Public Methods

Method Description
GetProgressControl ( [ taskName ) : IProgress
MainForm ( [ cancellationTokenSource ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
Cancel ( ) : void

Hides the window and then starts canceling the current process asynchronously.

InitializeComponent ( ) : void

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

MainForm_FormClosing ( object sender, FormClosingEventArgs e ) : void
buttonClose_Click ( object sender, EventArgs e ) : void

Method Details

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

GetProgressControl() public method

public GetProgressControl ( [ taskName ) : IProgress
taskName [
return IProgress

MainForm() public method

public MainForm ( [ cancellationTokenSource ) : System
cancellationTokenSource [
return System