C# Класс AdminTools.CLog

The visible control of the DPLog plugin
Наследование: System.Windows.Forms.UserControl
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

Приватные методы

Метод Описание
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

Описание методов

AddMessage() публичный Метод

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
Результат void

CLog() публичный Метод

Creates a new instance
public CLog ( ) : System
Результат System

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

RefreshDisabledChannels() публичный Метод

Refreshs the displayed list of currently disabled channels
public RefreshDisabledChannels ( ) : void
Результат void

RefreshEnabledChannels() публичный Метод

Refreshs the displayed list of currently enabled channels
public RefreshEnabledChannels ( ) : void
Результат void

WriteCache() публичный Метод

Writes all messages from the internal cache to the log list
public WriteCache ( ) : void
Результат void