Exemplo n.º 1
0
        private void TrainingAction(object sender, EventArgs args)
        {
            Button         btn    = (Button)sender;
            CelticsPlayers player = (CelticsPlayers)btn.CommandParameter;

            DisplayAlert("Training Schedule", "The individual training with the player " + player.Name + " are scheduled", "Ok");
        }
Exemplo n.º 2
0
        private void SuspendedAction(object sender, EventArgs args)
        {
            MenuItem       button = (MenuItem)sender;
            CelticsPlayers player = (CelticsPlayers)button.CommandParameter;

            DisplayAlert("Title: " + player.Name, "Message: " + player.Name + " - " + player.Position, "Ok");
        }
Exemplo n.º 3
0
        private void ItemSelectedAction(object sender, SelectedItemChangedEventArgs args)
        {
            CelticsPlayers player = (CelticsPlayers)args.SelectedItem;

            Navigation.PushAsync(new AppCellTypes.Pages.Detail.DetailPage(player));
        }
Exemplo n.º 4
0
        public DetailPage(CelticsPlayers player)
        {
            InitializeComponent();

            txtName.Text = player.Name;
        }