C# Class Yaircc.ThemeManager

Represents the theme manager dialog.
Inheritance: System.Windows.Forms.Form
Mostra file Open project: rastating/yaircc Class Usage Examples

Private Properties

Property Type Description
AddButton_Click void
AddTheme void
CloseButton_Click void
CreatedByLinkLabel_LinkClicked void
DefaultButton_Click void
LoadThemePreview void
LoadThemes void
RemoveButton_Click void
ThemeManager_Load void
ThemesTreeView_AfterSelect void
ThemesTreeView_BeforeSelect void
WebView_PropertyChanged void

Public Methods

Method Description
ThemeManager ( ) : System

Initialises a new instance of the ThemeManager class.

Protected Methods

Method Description
ProcessCmdKey ( Message &msg, Keys keyData ) : bool

Processes a command key.

Private Methods

Method Description
AddButton_Click ( object sender, EventArgs e ) : void

Handles the Click event of System.Windows.Forms.Button.

AddTheme ( System.Windows.Forms.Theme theme ) : void

Adds a node to represent the theme to the tree view.

CloseButton_Click ( object sender, EventArgs e ) : void

Handles the Click event of System.Windows.Forms.Button.

CreatedByLinkLabel_LinkClicked ( object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e ) : void

Handles the LinkClicked event of System.Windows.Forms.LinkLabel.

DefaultButton_Click ( object sender, EventArgs e ) : void

Handles the Click event of System.Windows.Forms.Button.

LoadThemePreview ( System.Windows.Forms.Theme theme ) : void

Loads a preview of the specified theme.

LoadThemes ( ) : void

Populates the tree view with the themes installed on the system.

RemoveButton_Click ( object sender, EventArgs e ) : void

Handles the Click event of System.Windows.Forms.Button.

ThemeManager_Load ( object sender, EventArgs e ) : void

Handles the Load event of System.Windows.Forms.Form.

ThemesTreeView_AfterSelect ( object sender, TreeViewEventArgs e ) : void

Handles the AfterSelect event of System.Windows.Forms.TreeView.

ThemesTreeView_BeforeSelect ( object sender, System.Windows.Forms.TreeViewCancelEventArgs e ) : void

Handles the BeforeSelect event of System.Windows.Forms.TreeView.

WebView_PropertyChanged ( object sender, System e ) : void

Handles the PropertyChanged event of CefSharp.WinForms.WebView.

Method Details

ProcessCmdKey() protected method

Processes a command key.
protected ProcessCmdKey ( Message &msg, Keys keyData ) : bool
msg System.Windows.Forms.Message A System.Windows.Forms.Message, passed by reference, that represents the Win32 message to process.
keyData Keys One of the System.Windows.Forms.Keys values that represents the key to process.
return bool

ThemeManager() public method

Initialises a new instance of the ThemeManager class.
public ThemeManager ( ) : System
return System