logo

PluginGrid gui object class More...

+ Inheritance diagram for NoteFly.PluginGrid:

Public Member Functions

 PluginGrid ()
 Initializes a new instance of the PluginGrid class. More...
 
void DrawAllPluginsDetails (int width)
 Draw all plugins in the plugingrid. More...
 
void SetControlTooltip (ToolTip tooltip)
 Set the tooltips for this control More...
 

Protected Member Functions

override void Dispose (bool disposing)
 Clean up any resources being used. More...
 

Private Member Functions

void DrawPluginDetails (int pluginpos, string dllfilename, int gridwith)
 Draw details of a plugin. More...
 
void PluginGrid_Click (object sender, EventArgs e)
 Plugin toggle enabled. More...
 
void SetPluginStatus (int pluginpos, string dllfilename)
 Update the plugin status if it enabled or disabled. More...
 
void SetButtonTooltip (Button btn, bool pluginenabled)
 Set the tooltip of the enable and disable plugin button. More...
 
int FindPos (string dllfilename)
 Find the position of a plugin dll filename in the tlpnlPlugins More...
 
void InitializeComponent ()
 Required method for Designer support - do not modify the contents of this method with the code editor. More...
 

Private Attributes

const int MINWITH = 50
 The minimum width of the control. More...
 
Button[] btnPluginsStatus
 Array with all enable/disable buttons for every plugin. More...
 
TableLayoutPanel[] tlpnlPlugins
 All the tablelayouts panel for every plugin. More...
 
ToolTip tooltip
 The tooltip. More...
 
System.ComponentModel.IContainer components = null
 Required designer variable. More...
 
System.Windows.Forms.Label lblTextNopluginsinstalled
 Label lblTextNopluginsinstalled More...
 

Detailed Description

PluginGrid component

Constructor & Destructor Documentation

NoteFly.PluginGrid.PluginGrid ( )

Member Function Documentation

override void NoteFly.PluginGrid.Dispose ( bool  disposing)
protected
Parameters
disposingTrue if managed resources should be disposed; otherwise, false.
void NoteFly.PluginGrid.DrawAllPluginsDetails ( int  width)
void NoteFly.PluginGrid.DrawPluginDetails ( int  pluginpos,
string  dllfilename,
int  gridwith 
)
private
Parameters
pluginposThe position of the plugin in allplugins array.
dllfilenameThe dll filename of the plugin assemble.
gridwithThe width of the plugingrid control.
int NoteFly.PluginGrid.FindPos ( string  dllfilename)
private
Parameters
dllfilenameThe dll filename
Returns
The position in tlpnlPlugins (counted from the top).
void NoteFly.PluginGrid.InitializeComponent ( )
private
void NoteFly.PluginGrid.PluginGrid_Click ( object  sender,
EventArgs  e 
)
private
Parameters
senderSender object
eEvent argument
void NoteFly.PluginGrid.SetButtonTooltip ( Button  btn,
bool  pluginenabled 
)
private
Parameters
btn
pluginenabled
void NoteFly.PluginGrid.SetControlTooltip ( ToolTip  tooltip)
void NoteFly.PluginGrid.SetPluginStatus ( int  pluginpos,
string  dllfilename 
)
private
Parameters
pluginposThe position in tablelayout.
dllfilenameThe dll filename to check if it's enabled.

Member Data Documentation

Button [] NoteFly.PluginGrid.btnPluginsStatus
private
System.ComponentModel.IContainer NoteFly.PluginGrid.components = null
private
System.Windows.Forms.Label NoteFly.PluginGrid.lblTextNopluginsinstalled
private
const int NoteFly.PluginGrid.MINWITH = 50
private
TableLayoutPanel [] NoteFly.PluginGrid.tlpnlPlugins
private
ToolTip NoteFly.PluginGrid.tooltip
private