C# Class Scanner_UI.Scanner_Form

Inheritance: System.Windows.Forms.Form
Afficher le fichier Open project: mtotheikle/EWU-OIT-SSN-Scanner

Méthodes publiques

Свойство Type Description
dataGridView System.Windows.Forms.DataGridView
fileNameLabel System.Windows.Forms.Label
path TextBox
percentage Label
progressBar System.Windows.Forms.ProgressBar
scanDirectory Label

Méthodes publiques

Méthode Description
AddToTable ( string filename, string location, int count, int priority ) : void
LoadData ( ) : void
SQLDatabaseInitilize ( ) : void
Scanner_Form ( ) : System
SetProgressBarMax ( string val ) : void
UpdateData ( string fileName, string path, string priority, string count ) : void
UpdateFileNameLabel ( string text ) : void
UpdatePercentageLabel ( string percent ) : void
UpdateProgressBar ( string val ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
ExecuteQuery ( string txtQuery ) : void
InitializeComponent ( ) : void

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

MainWindow_Closing ( object sender, FormClosingEventArgs e ) : void
backgroundWorker_DoWork ( object sender, DoWorkEventArgs e ) : void
backgroundWorker_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void
exitToolStripMenuItem_Click ( object sender, EventArgs e ) : void
pauseButton_Click ( object sender, EventArgs e ) : void
pauseScanToolStripMenuItem_Click ( object sender, EventArgs e ) : void
pause_scan ( ) : void
scanButton_Click ( object sender, EventArgs e ) : void
startScanToolStripMenuItem_Click ( object sender, EventArgs e ) : void
start_scan ( ) : void

Method Details

AddToTable() public méthode

public AddToTable ( string filename, string location, int count, int priority ) : void
filename string
location string
count int
priority int
Résultat void

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void

LoadData() public méthode

public LoadData ( ) : void
Résultat void

SQLDatabaseInitilize() public méthode

public SQLDatabaseInitilize ( ) : void
Résultat void

Scanner_Form() public méthode

public Scanner_Form ( ) : System
Résultat System

SetProgressBarMax() public méthode

public SetProgressBarMax ( string val ) : void
val string
Résultat void

UpdateData() public méthode

public UpdateData ( string fileName, string path, string priority, string count ) : void
fileName string
path string
priority string
count string
Résultat void

UpdateFileNameLabel() public méthode

public UpdateFileNameLabel ( string text ) : void
text string
Résultat void

UpdatePercentageLabel() public méthode

public UpdatePercentageLabel ( string percent ) : void
percent string
Résultat void

UpdateProgressBar() public méthode

public UpdateProgressBar ( string val ) : void
val string
Résultat void

Property Details

dataGridView public_oe property

public DataGridView,System.Windows.Forms dataGridView
Résultat System.Windows.Forms.DataGridView

fileNameLabel public_oe property

public Label,System.Windows.Forms fileNameLabel
Résultat System.Windows.Forms.Label

path public_oe property

public TextBox path
Résultat TextBox

percentage public_oe property

public Label percentage
Résultat Label

progressBar public_oe property

public ProgressBar,System.Windows.Forms progressBar
Résultat System.Windows.Forms.ProgressBar

scanDirectory public_oe property

public Label scanDirectory
Résultat Label