Method | Description | |
---|---|---|
PanelToolStripItem ( |
A simple constructor. This constructor wires the appropriate event p_ctlButton to the Selected event. |
|
SetSelected ( ) : void |
Sets the item as selected.
|
|
SetUnselected ( ) : void |
Sets the item as not selected.
|
Method | Description | |
---|---|---|
OnSelected ( object sender, |
Raises the Selected event.
|
protected OnSelected ( object sender, |
||
sender | object | The object that raised the event. |
e | An |
|
return | void |
public PanelToolStripItem ( |
||
p_ctlButton | The actual control that is to be added to the |
|
p_strEvent | string | The name of the event on the button control to which to bind the |
p_intIndex | The index of this item in the panel. | |
p_tdsDisplayStyle | ToolStripItemDisplayStyle | The |
return | System |