C# Class MemoScope.Tools.CodeTriggers.CodeTriggersControl

Inheritance: System.Windows.Forms.UserControl
Show file Open project: fremag/MemoScope.Net

Public Properties

Property Type Description
CodeGetter string>.Func
LoadTriggers Func>
SaveTriggers Action>
nbTriggers int

Public Methods

Method Description
CodeTriggersControl ( ) : System.Collections.Generic
RefreshTrigger ( CodeTrigger trigger ) : void
RefreshTriggers ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Nettoyage des ressources utilisées.

Log ( string text, LogLevelType logLevel = LogLevelType.Info ) : void

Private Methods

Method Description
CreateTrigger ( ) : void
InitCodeSyntax ( ) : void
InitializeComponent ( ) : void

Méthode requise pour la prise en charge du concepteur - ne modifiez pas le contenu de cette méthode avec l'éditeur de code.

ProcessTriggers_Load ( object sender, System e ) : void
Reset ( ) : void
cbActive_CheckedChanged ( object sender, EventArgs e ) : void
dlvTriggers_SelectedIndexChanged ( object sender, System e ) : void
tbCode_DragDrop ( object sender, DragEventArgs e ) : void
tbCode_DragEnter ( object sender, DragEventArgs e ) : void
tbCode_TextChanged ( object sender, System e ) : void
tbGroup_TextChanged ( object sender, System e ) : void
tbName_TextChanged ( object sender, System e ) : void
tsbCloneTrigger_Click ( object sender, System e ) : void
tsbDeleteTrigger_Click ( object sender, System e ) : void
tsbNewTrigger_Click ( object sender, System e ) : void
tsbSaveAllTriggers_Click ( object sender, System e ) : void

Method Details

CodeTriggersControl() public method

public CodeTriggersControl ( ) : System.Collections.Generic
return System.Collections.Generic

Dispose() protected method

Nettoyage des ressources utilisées.
protected Dispose ( bool disposing ) : void
disposing bool true si les ressources managées doivent être supprimées ; sinon, false.
return void

Log() protected method

protected Log ( string text, LogLevelType logLevel = LogLevelType.Info ) : void
text string
logLevel LogLevelType
return void

RefreshTrigger() public method

public RefreshTrigger ( CodeTrigger trigger ) : void
trigger CodeTrigger
return void

RefreshTriggers() public method

public RefreshTriggers ( ) : void
return void

Property Details

CodeGetter public property

public Func CodeGetter
return string>.Func

LoadTriggers public property

public Func> LoadTriggers
return Func>

SaveTriggers public property

public Action> SaveTriggers
return Action>

nbTriggers public property

public int nbTriggers
return int