예제 #1
0
        //void OnSizeChanged(object sender, EventArgs e)
        //{
        //    var orientation = DeviceDisplay.MainDisplayInfo.Orientation;
        //    var mainDisplayInfo = DeviceDisplay.MainDisplayInfo;

        //    if (orientation == DisplayOrientation.Landscape)
        //    {
        //        back_header.Source = ImageSource.FromFile("back_header_Menu_land.png");
        //    }
        //    else
        //    {
        //        back_header.Source = ImageSource.FromFile("back_header_Menu.png");
        //    }
        //}

        async private void OnCollectionViewSelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            Calendrier selectedItem = sender as Calendrier;

            //string str = "La conférence choisie est " + selectedItem.Name;
            //DisplayAlert("Sélection des conférences", str, "OK");
            if (flagHoraireConferencier == true)
            {
                await Navigation.PushModalAsync(new Atelier(), false);
            }
            else
            {
                await Navigation.PushModalAsync(new Conferenciers(), false);
            }
        }
예제 #2
0
 void OnListViewItemTapped(object sender, ItemTappedEventArgs e)
 {
     Calendrier tappedItem = e.Item as Calendrier;
 }