using System; using System.ComponentModel; namespace InABox.Core { public class ButtonEditorClickArgs : CancelEventArgs { public String Data { get; set; } } public class ButtonEditor : BaseEditor { public Action OnClick { get; set; } public String Label { get; set; } public ButtonEditor() { Label = "Edit"; Alignment = Alignment.NotSet; } protected override BaseEditor DoClone() { return new ButtonEditor() { OnClick = OnClick }; } } }