C# Class Bloom.Publish.BloomLibraryPublishControl

This class replaces the AdobeReaderControl in the PublishView when the Upload To BloomLibrary.org option is selected.
Inheritance: System.Windows.Forms.UserControl
显示文件 Open project: BloomBooks/BloomDesktop Class Usage Examples

Public Methods

Method Description
BloomLibraryPublishControl ( PublishView parentView, BookTransfer bookTransferrer, LoginDialog login, Book book ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnLoad ( EventArgs e ) : void
OnSizeChanged ( EventArgs e ) : void

Private Methods

Method Description
AdjustControlPlacement ( ) : void

Adjust things to look neat for the selected set of license controls and their content

AdjustLabelSize ( Label label ) : void
BackgroundUpload ( object sender, DoWorkEventArgs e ) : void
InitializeComponent ( ) : void

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

RequireValue ( Label item ) : void
SetStateOfNonUploadControls ( bool enable ) : void
UpdateDisplay ( ) : void
_creativeCommonsLink_LinkClicked ( object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e ) : void
_loginLink_LinkClicked ( object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e ) : void
_progressBox_LinkClicked ( object sender, System.Windows.Forms.LinkClickedEventArgs e ) : void
_signUpLink_LinkClicked ( object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e ) : void
_summaryBox_TextChanged ( object sender, EventArgs e ) : void
_termsLink_LinkClicked ( object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e ) : void
_uploadButton_Click ( object sender, EventArgs e ) : void

Method Details

BloomLibraryPublishControl() public method

public BloomLibraryPublishControl ( PublishView parentView, BookTransfer bookTransferrer, LoginDialog login, Book book ) : System
parentView PublishView
bookTransferrer Bloom.WebLibraryIntegration.BookTransfer
login Bloom.WebLibraryIntegration.LoginDialog
book Book
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

OnLoad() protected method

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

OnSizeChanged() protected method

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