コード例 #1
0
        private void OnAddBtnPressed(object sender, EventArgs e)
        {
            // Show create client screen
            var next = new NewClientViewController(workspaceId, handler);

            NavigationController.PushViewController(next, true);
        }
コード例 #2
0
        private void OnNavigationBarAddClicked(object sender, EventArgs e)
        {
            // Show create client screen
            var next = new NewClientViewController(workspace)
            {
                ClientCreated = (c) => ClientSelected(c),
            };

            this.NavigationController.PushViewController(next, true);
        }