Constructor PanelOkCancelButtons
PanelOkCancelButtons(Control)
Initializes a new instance of the PanelOkCancelButtons class. This constructor creates a panel with 'Ok' and 'Cancel' buttons.
public PanelOkCancelButtons(Control parent)
Parameters
parentControlParent of the control.
PanelOkCancelButtons()
Initializes a new instance of the PanelOkCancelButtons class. This constructor creates a panel with 'Ok' and 'Cancel' buttons.
public PanelOkCancelButtons()
PanelOkCancelButtons(bool)
Initializes a new instance of the PanelOkCancelButtons class with options to automatically create standard buttons.
public PanelOkCancelButtons(bool autoCreateButtons)
Parameters
autoCreateButtonsboolA value indicating whether the 'Ok' and 'Cancel' buttons should be automatically created. Specify true to create the buttons; otherwise, false.
PanelOkCancelButtons(CreateParameters)
Initializes a new instance of the PanelOkCancelButtons class with specified parameters.
public PanelOkCancelButtons(PanelOkCancelButtons.CreateParameters prm)
Parameters
prmPanelOkCancelButtons.CreateParametersThe parameters used to determine which buttons to create and configure.
Remarks
This constructor sets up a horizontal stack panel with buttons aligned to the right and centered vertically. It optionally creates the 'Ok', 'Cancel', and 'Apply' buttons based on the provided parameters.