Пример #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);
                });
        }
Пример #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);
 }