C# Class Bloom.CollectionChoosing.OpenCreateCloneControl

Show file Open project: BloomBooks/BloomDesktop

Public Methods

Method Description
CheckForBeingInDropboxFolder ( string path ) : void

This method checks 'path' for being in a Dropbox folder. If so, it displays a warning message.

Init ( MostRecentPathsList mruList, string filterString, Func createNewLibraryAndReturnPath ) : void
IsInvalidCollectionToEdit ( string path ) : bool
OpenCreateCloneControl ( ) : System
ReportIfInvalidCollectionToEdit ( string path ) : bool
SelectCollectionAndClose ( string path ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
AddChoice ( string localizedLabel, string localizedTooltip, bool enabled, EventHandler clickHandler, int row ) : Button
AddFileChoice ( string path, int index ) : void
CreateNewLibrary_LinkClicked ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

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

OnBrowseForExistingLibraryClick ( object sender, EventArgs e ) : void
OnGetFromChorusHub ( object sender, EventArgs e ) : void
OnGetFromInternet ( object sender, EventArgs e ) : void
OnGetFromUsb ( object sender, EventArgs e ) : void
OnLoad ( object sender, EventArgs e ) : void
OnOpenRecentCollection ( object sender, EventArgs e ) : void
SelectAndCloneProject ( ICloneSourceDialog dlg ) : void
_readMoreLabel_Click ( object sender, LinkLabelLinkClickedEventArgs e ) : void

Method Details

CheckForBeingInDropboxFolder() public static method

This method checks 'path' for being in a Dropbox folder. If so, it displays a warning message.
public static CheckForBeingInDropboxFolder ( string path ) : void
path string
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

Init() public method

public Init ( MostRecentPathsList mruList, string filterString, Func createNewLibraryAndReturnPath ) : void
mruList MostRecentPathsList
filterString string
createNewLibraryAndReturnPath Func
return void

IsInvalidCollectionToEdit() public static method

public static IsInvalidCollectionToEdit ( string path ) : bool
path string
return bool

OpenCreateCloneControl() public method

public OpenCreateCloneControl ( ) : System
return System

ReportIfInvalidCollectionToEdit() public static method

public static ReportIfInvalidCollectionToEdit ( string path ) : bool
path string
return bool

SelectCollectionAndClose() public method

public SelectCollectionAndClose ( string path ) : void
path string
return void