private void OnClientButtonTouchUpInside(object sender, EventArgs e) { var controller = new ClientSelectionViewController(model.Workspace) { ClientSelected = (client) => { model.Client = client; NavigationController.PopToViewController(this, true); } }; NavigationController.PushViewController(controller, true); }
public Source(ClientSelectionViewController controller) : base(controller.TableView, GetClientView(controller.workspace)) { this.controller = controller; }
private void OnClientButtonTouchUpInside(object sender, EventArgs e) { var controller = new ClientSelectionViewController(workspaceId, this); NavigationController.PushViewController(controller, true); }