CommandButtonControl

CommandButtonControl constructor

Initialise une nouvelle instance deCommandButtonControl classe.

public CommandButtonControl()

Exemples

Montre comment insérer un contrôle ActiveX.

DocumentBuilder builder = new DocumentBuilder();

CommandButtonControl button1 = new CommandButtonControl();
Shape shape = builder.InsertForms2OleControl(button1);
Assert.AreEqual(Forms2OleControlType.CommandButton, button1.Type);

Voir également