C# Class Bloom.Collection.BloomPack.BloomPackInstallDialog

A Bloom Pack is just a zipped collection folder (a folder full of book folders).
Inheritance: System.Windows.Forms.Form
Show file Open project: BloomBooks/BloomDesktop Class Usage Examples

Public Methods

Method Description
BloomPackInstallDialog ( string path ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnHandleCreated ( EventArgs e ) : void

Private Methods

Method Description
BeginInstall ( ) : void
CopyXMatterFoldersToWhereTheyBelong ( string newlyAddedFolderOfThePack ) : void
DeleteExistingDirectory ( string destinationFolder ) : void
GetRootFolderName ( ) : string
InitializeComponent ( ) : void

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

ReportErrorUnzippingBloomPack ( ) : void

Report a corrupt Bloom Pack file.

ReportInvalidBloomPack ( ) : void

Report an invalid Bloom Pack file.

_backgroundWorker_DoWork ( object sender, System e ) : void
_backgroundWorker_ProgressChanged ( object sender, ProgressChangedEventArgs e ) : void
_backgroundWorker_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void
_okButton_Click ( object sender, EventArgs e ) : void
_startupTimer_Tick ( object sender, EventArgs e ) : void

This makes the dialog show before we go asking any questions.

Method Details

BloomPackInstallDialog() public method

public BloomPackInstallDialog ( string path ) : System
path string
return System

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

OnHandleCreated() protected method

protected OnHandleCreated ( EventArgs e ) : void
e System.EventArgs
return void