public EmployeeFinderWidget(BaseScene scene) : base() { this.scene = scene; searchTexture = ContentLoader.GetTexture("search"); padlock = ContentLoader.GetTexture("padlock"); confirmButton = new SmallDetailButtonWidget(); confirmButton.Text = "Assign"; confirmButton.OnClick += ConfirmButton_OnClick; }
public PopupWidget() : base() { bg = ContentLoader.GetTexture("popup-background"); buttonAccept = new SmallDetailButtonWidget(); buttonAccept.Text = "Purchase"; buttonAccept.OnClick += ButtonAccept_OnClick; buttonCancel = new SmallDetailButtonWidget(); buttonCancel.Text = "Cancel"; buttonCancel.OnClick += ButtonCancel_OnClick; }