C# Class TestME.Utilities

Afficher le fichier Open project: Hli4S/TestMeApp

Méthodes publiques

Méthode Description
AsyncDB ( bool DebugMe = false ) : DB
Cell_TextChanged ( object sender, System.Windows.Forms.DataGridView dgv, Control e ) : void
FindControl ( Form form, string name ) : Control
InvokeMe ( Control ctrl, MethodInvoker mInvoke ) : void
MD5Hash ( string txt ) : string
clearText ( ) : void
contextMenuEnable ( System.Windows.Forms.DataGridView dgv ) : void
dgvCellEditing ( System.Windows.Forms.DataGridView dgv, string columnName, System.Windows.Forms.DataGridViewEditingControlShowingEventArgs e ) : void
dgvRandomShuffle ( System.Windows.Forms.DataGridView dgv ) : void
dgvRowIntoQuestion ( System.Windows.Forms.DataGridViewRow dgvRow ) : Question
dgvRowMoveUpDown ( System.Windows.Forms.DataGridView dgv, bool moveDown ) : void
notifyThem ( NotificationBox ntfbox, string msg, NotificationBox ntype ) : void
rightClickSelect ( System.Windows.Forms.DataGridView dgv, System.Windows.Forms.DataGridViewCellMouseEventArgs e ) : void
runInThread ( System.Action func ) : Thread
txtBoxReplaceNewLine ( TextBox txtb ) : void
txtBoxReplaceSpaceNewLine ( TextBox txtb ) : void
txtCustomReplaceSpace ( XylosTextBox txtb ) : void

Private Methods

Méthode Description
FindControl ( Form form, Control control, string name ) : Control

Method Details

AsyncDB() public static méthode

public static AsyncDB ( bool DebugMe = false ) : DB
DebugMe bool
Résultat DB

Cell_TextChanged() public static méthode

public static Cell_TextChanged ( object sender, System.Windows.Forms.DataGridView dgv, Control e ) : void
sender object
dgv System.Windows.Forms.DataGridView
e System.Windows.Forms.Control
Résultat void

FindControl() public static méthode

public static FindControl ( Form form, string name ) : Control
form System.Windows.Forms.Form
name string
Résultat System.Windows.Forms.Control

InvokeMe() public static méthode

public static InvokeMe ( Control ctrl, MethodInvoker mInvoke ) : void
ctrl System.Windows.Forms.Control
mInvoke MethodInvoker
Résultat void

MD5Hash() public static méthode

public static MD5Hash ( string txt ) : string
txt string
Résultat string

clearText() public static méthode

public static clearText ( ) : void
Résultat void

contextMenuEnable() public static méthode

public static contextMenuEnable ( System.Windows.Forms.DataGridView dgv ) : void
dgv System.Windows.Forms.DataGridView
Résultat void

dgvCellEditing() public static méthode

public static dgvCellEditing ( System.Windows.Forms.DataGridView dgv, string columnName, System.Windows.Forms.DataGridViewEditingControlShowingEventArgs e ) : void
dgv System.Windows.Forms.DataGridView
columnName string
e System.Windows.Forms.DataGridViewEditingControlShowingEventArgs
Résultat void

dgvRandomShuffle() public static méthode

public static dgvRandomShuffle ( System.Windows.Forms.DataGridView dgv ) : void
dgv System.Windows.Forms.DataGridView
Résultat void

dgvRowIntoQuestion() public static méthode

public static dgvRowIntoQuestion ( System.Windows.Forms.DataGridViewRow dgvRow ) : Question
dgvRow System.Windows.Forms.DataGridViewRow
Résultat Question

dgvRowMoveUpDown() public static méthode

public static dgvRowMoveUpDown ( System.Windows.Forms.DataGridView dgv, bool moveDown ) : void
dgv System.Windows.Forms.DataGridView
moveDown bool
Résultat void

notifyThem() public static méthode

public static notifyThem ( NotificationBox ntfbox, string msg, NotificationBox ntype ) : void
ntfbox NotificationBox
msg string
ntype NotificationBox
Résultat void

rightClickSelect() public static méthode

public static rightClickSelect ( System.Windows.Forms.DataGridView dgv, System.Windows.Forms.DataGridViewCellMouseEventArgs e ) : void
dgv System.Windows.Forms.DataGridView
e System.Windows.Forms.DataGridViewCellMouseEventArgs
Résultat void

runInThread() public static méthode

public static runInThread ( System.Action func ) : Thread
func System.Action
Résultat Thread

txtBoxReplaceNewLine() public static méthode

public static txtBoxReplaceNewLine ( TextBox txtb ) : void
txtb System.Windows.Forms.TextBox
Résultat void

txtBoxReplaceSpaceNewLine() public static méthode

public static txtBoxReplaceSpaceNewLine ( TextBox txtb ) : void
txtb System.Windows.Forms.TextBox
Résultat void

txtCustomReplaceSpace() public static méthode

public static txtCustomReplaceSpace ( XylosTextBox txtb ) : void
txtb XylosTextBox
Résultat void