C# Class WebSiteAdvantage.KeePass.FireFoxConverter.Form1

Mostrar archivo Open project: Tiggerito/WebSiteAdvantage.KeePass.Firefox.Converter

Public Methods

Method Description
Form1 ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

LogProgress ( int percent ) : void

thread safe way to update the porgress bar

OnClosing ( CancelEventArgs e ) : void
StopThread ( ) : void
ThreadFinished ( Exception ex ) : void

Call this at the end of any thread execution if theres an exception it will warn the user otherwise it will indicate success

Private Methods

Method Description
Form1_Load ( object sender, EventArgs e ) : void
GenerateUsingExport ( ) : void

Create the keepass file using an exported firefox file

GenerateUsingFirefox ( ) : void

generates a keepass xml file by directly accessing firefoxes passwords designed to be used in a thread uses the thread

InitializeComponent ( ) : void

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

button1_Click ( object sender, EventArgs e ) : void
buttonCancel_Click ( object sender, EventArgs e ) : void

closes the window after making sure the thread has stopped

buttonFindProfiles_Click ( object sender, EventArgs e ) : void
buttonHelp_Click ( object sender, EventArgs e ) : void
buttonStart_Click ( object sender, EventArgs e ) : void

gathers the required data then starts the appropriate thread

checkBoxTitle_CheckedChanged ( object sender, EventArgs e ) : void
linkLabel1_LinkClicked ( object sender, LinkLabelLinkClickedEventArgs e ) : void
linkLabel2_LinkClicked ( object sender, LinkLabelLinkClickedEventArgs e ) : void
linkLabelExporter_LinkClicked ( object sender, LinkLabelLinkClickedEventArgs e ) : void
radioButton1_CheckedChanged ( 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

Form1() public method

public Form1 ( ) : System
return System

LogProgress() protected method

thread safe way to update the porgress bar
protected LogProgress ( int percent ) : void
percent int
return void

OnClosing() protected method

protected OnClosing ( CancelEventArgs e ) : void
e CancelEventArgs
return void

StopThread() protected method

protected StopThread ( ) : void
return void

ThreadFinished() protected method

Call this at the end of any thread execution if theres an exception it will warn the user otherwise it will indicate success
protected ThreadFinished ( Exception ex ) : void
ex Exception
return void