C# Class EWUScanner.MainForm

Mostra file Open project: mtotheikle/EWU-OIT-SSN-Scanner Class Usage Examples

Public Properties

Property Type Description
adminMode bool
creditCardMode bool
elapsedTimer System.Windows.Forms.Timer
iForm InitializingForm
lblCurDir System.Windows.Forms.Label
lblElapsedHours System.Windows.Forms.Label
lblElapsedMins System.Windows.Forms.Label
lblItemsFound System.Windows.Forms.Label
lblItemsScanned System.Windows.Forms.Label
lblMins System.Windows.Forms.Label
lblPercentage System.Windows.Forms.Label
lblStartTime System.Windows.Forms.Label
socialSecurityMode bool
startTime DateTime
theProgressBar System.Windows.Forms.ProgressBar

Public Methods

Method Description
ChangeCursor ( int value ) : void
InitFormVisible ( bool show ) : void
MainForm ( ) : System
SetProgressBarMax ( int value ) : void
StartScan ( ) : void
StopTimer ( ) : void
UpdateLblCurFolder ( string folderPath ) : void
UpdateLblItemsFound ( int numFound ) : void
UpdateLblItemsScanned ( int numScanned ) : void
UpdateLblPercentage ( int percent ) : void
UpdateProgressBar ( int value ) : void
UpdateScanFinished ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
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
aboutToolStripMenuItem_Click ( object sender, EventArgs e ) : void
administratorModeToolStripMenuItem_Click ( object sender, EventArgs e ) : void
btnFullScan_Click ( object sender, EventArgs e ) : void
btnPartialScan_Click ( object sender, EventArgs e ) : void
ccToolStripMenuItem_Click ( object sender, EventArgs e ) : void
elapsedTimer_Tick ( object sender, EventArgs e ) : void
excludedPathsToolStripMenuItem_Click ( object sender, EventArgs e ) : void
exitToolStripMenuItem_Click ( object sender, EventArgs e ) : void
fileTraversalWorker_DoWork ( object sender, DoWorkEventArgs e ) : void
pauseToolStripMenuItem_Click ( object sender, EventArgs e ) : void
resumeToolStripMenuItem_Click ( object sender, EventArgs e ) : void
ssnToolStripMenuItem_Click ( object sender, EventArgs e ) : void
startToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Method Details

ChangeCursor() public method

public ChangeCursor ( int value ) : void
value int
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

InitFormVisible() public method

public InitFormVisible ( bool show ) : void
show bool
return void

MainForm() public method

public MainForm ( ) : System
return System

SetProgressBarMax() public method

public SetProgressBarMax ( int value ) : void
value int
return void

StartScan() public method

public StartScan ( ) : void
return void

StopTimer() public method

public StopTimer ( ) : void
return void

UpdateLblCurFolder() public method

public UpdateLblCurFolder ( string folderPath ) : void
folderPath string
return void

UpdateLblItemsFound() public method

public UpdateLblItemsFound ( int numFound ) : void
numFound int
return void

UpdateLblItemsScanned() public method

public UpdateLblItemsScanned ( int numScanned ) : void
numScanned int
return void

UpdateLblPercentage() public method

public UpdateLblPercentage ( int percent ) : void
percent int
return void

UpdateProgressBar() public method

public UpdateProgressBar ( int value ) : void
value int
return void

UpdateScanFinished() public method

public UpdateScanFinished ( ) : void
return void

Property Details

adminMode public_oe static_oe property

public static bool adminMode
return bool

creditCardMode public_oe static_oe property

public static bool creditCardMode
return bool

elapsedTimer public_oe property

public System.Windows.Forms.Timer elapsedTimer
return System.Windows.Forms.Timer

iForm public_oe property

public InitializingForm,EWUScanner iForm
return InitializingForm

lblCurDir public_oe property

public System.Windows.Forms.Label lblCurDir
return System.Windows.Forms.Label

lblElapsedHours public_oe property

public System.Windows.Forms.Label lblElapsedHours
return System.Windows.Forms.Label

lblElapsedMins public_oe property

public System.Windows.Forms.Label lblElapsedMins
return System.Windows.Forms.Label

lblItemsFound public_oe property

public System.Windows.Forms.Label lblItemsFound
return System.Windows.Forms.Label

lblItemsScanned public_oe property

public System.Windows.Forms.Label lblItemsScanned
return System.Windows.Forms.Label

lblMins public_oe property

public System.Windows.Forms.Label lblMins
return System.Windows.Forms.Label

lblPercentage public_oe property

public System.Windows.Forms.Label lblPercentage
return System.Windows.Forms.Label

lblStartTime public_oe property

public System.Windows.Forms.Label lblStartTime
return System.Windows.Forms.Label

socialSecurityMode public_oe static_oe property

public static bool socialSecurityMode
return bool

startTime public_oe property

public DateTime startTime
return DateTime

theProgressBar public_oe property

public System.Windows.Forms.ProgressBar theProgressBar
return System.Windows.Forms.ProgressBar