C# Class AdminTools.CLog

The visible control of the DPLog plugin
Inheritance: System.Windows.Forms.UserControl
Afficher le fichier Open project: Silveryard/SmartHome

Méthodes publiques

Méthode Description
AddMessage ( int channel, string message ) : void

Adds a new message to the log list

CLog ( ) : System

Creates a new instance

RefreshDisabledChannels ( ) : void

Refreshs the displayed list of currently disabled channels

RefreshEnabledChannels ( ) : void

Refreshs the displayed list of currently enabled channels

WriteCache ( ) : void

Writes all messages from the internal cache to the log list

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
CLog_Load ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

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

btnDisable_Click ( object sender, EventArgs e ) : void
btnEnable_Click ( object sender, EventArgs e ) : void

Method Details

AddMessage() public méthode

Adds a new message to the log list
public AddMessage ( int channel, string message ) : void
channel int The sending channel
message string The sended message
Résultat void

CLog() public méthode

Creates a new instance
public CLog ( ) : System
Résultat System

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

RefreshDisabledChannels() public méthode

Refreshs the displayed list of currently disabled channels
public RefreshDisabledChannels ( ) : void
Résultat void

RefreshEnabledChannels() public méthode

Refreshs the displayed list of currently enabled channels
public RefreshEnabledChannels ( ) : void
Résultat void

WriteCache() public méthode

Writes all messages from the internal cache to the log list
public WriteCache ( ) : void
Résultat void