public object CreateButtonWidget(Sandwych.Layout.Models.Button button) { var buttonControl = new ButtonControl(button, this.model); this.createdButtons.Add(buttonControl); return(buttonControl); }
public ButtonControl(Sandwych.Layout.Models.Button buttonInfo, string model) : base() { this.model = model; this.Text = buttonInfo.Text; this.ButtonName = buttonInfo.Name; this.target = buttonInfo.Target; }
public object CreateButtonWidget(Sandwych.Layout.Models.Button button) { throw new NotSupportedException(); }