Exemplo n.º 1
0
        public static void ShowAbout()
        {
            Deployment.Current.Dispatcher.BeginInvoke(() =>
            {
                var about = new AboutPrompt {
                    Title = "Evolve Quest", VersionNumber = "v1.0"
                };
                var xamarin = new AboutPromptItem
                {
                    AuthorName   = "Created In C# with Xamarin \nwith 60%+ Shared Code\n\nCopyright 2014 Xamarin",
                    EmailAddress = "*****@*****.**",
                    WebSiteUrl   = "http://www.xamarin.com"
                };

                var privacy = new AboutPromptItem
                {
                    AuthorName = "Privacy Policy",
                    WebSiteUrl = "http://www.xamarin.com/privacy"
                };

                var tech = new AboutPromptItem
                {
                    AuthorName = "Technology Use\nZXigng.NET\nCross Platform QR Code Scanning\nCoding4Fun\nXam.PCL Settings\nJson.NET\nWindows Phone Toolkit"
                };


                about.Show(xamarin, privacy, tech);
            });
        }
Exemplo n.º 2
0
        private void StackPanel_Tap_2(object sender, System.Windows.Input.GestureEventArgs e)
        {
            AboutPromptItem[] people = new AboutPromptItem[4];
            //public void Show(string authorName, string twitterName = null, string emailAddress = null, string websiteUrl = null);
            people[0] = new AboutPromptItem()
            {
                AuthorName = "Osman Şekerlen", EmailAddress = "*****@*****.**", WebSiteUrl = "https://www.google.com.tr", Role = "WP8"
            };
            people[1] = new AboutPromptItem()
            {
                AuthorName = "Doğukan Ergün", EmailAddress = "*****@*****.**", WebSiteUrl = "https://www.google.com.tr", Role = "Android"
            };
            people[2] = new AboutPromptItem()
            {
                AuthorName = "Taha Doğan Güneş", EmailAddress = "*****@*****.**", WebSiteUrl = "https://www.google.com.tr", Role = "iOS"
            };
            people[3] = new AboutPromptItem()
            {
                AuthorName = "Ömer Kala", EmailAddress = "*****@*****.**", WebSiteUrl = "https://www.google.com.tr", Role = "API"
            };
            AboutPrompt about = new AboutPrompt();

            about.Title         = AppResources.AboutButtonText;
            about.VersionNumber = "v" + MainPage.version;
            about.Show(people);
        }
Exemplo n.º 3
0
        void aboutAppBar_Click(object sender, EventArgs e)
        {
            AboutPrompt aboutMe = new AboutPrompt();

            aboutMe.Title         = "DayCounter";
            aboutMe.VersionNumber = "Version 1.0";
            AboutPromptItem item1 = new AboutPromptItem();
            AboutPromptItem item2 = new AboutPromptItem();
            AboutPromptItem item3 = new AboutPromptItem();

            item1.AuthorName   = "Yk Poh";
            item2.EmailAddress = @"*****@*****.**";
            item3.WebSiteUrl   = "@yk_poh";
            item1.Role         = "author";
            item2.Role         = "email";
            item3.Role         = "twitter";
            aboutMe.Show(item1, item2, item3);
        }