Exemplo n.º 1
0
        public static async Task <String> openCourse(string id, INavigation navigation)
        {
            //MainPage.Navigation.PushAsync(new ViewCourse(id));
            Page p = ViewExtensions.GetParentPage(App.Currentdownload);
            await p.Navigation.PushModalAsync(new ViewCourse(id));

            return("");
        }
Exemplo n.º 2
0
        public void launchCourse(Object Sender, EventArgs args)
        {
            DownloadImageButton button = (DownloadImageButton)Sender;


            //String text = label.Text;
            Page p = ViewExtensions.GetParentPage(button);

            p.Navigation.PushModalAsync(new ViewCourse(button.CourseID));
        }