/// <summary> /// Initializes a new instance of the <see cref="Button"/> class with the specified text. /// </summary> /// <param name="text">The text to be displayed by this <see cref="Button"/>.</param> public Button(string text) : base(new SafeControlHandle(Libui.NewButton(text))) { this.text = text; InitializeEvents(); }