ApplicationModel.iOS.UIViewController1.B_TouchUpInside C# (CSharp) Méthode

B_TouchUpInside() private méthode

private B_TouchUpInside ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void
        private async void B_TouchUpInside(object sender, EventArgs e)
        {
            var file = await InTheHand.Storage.ApplicationData.Current.LocalFolder.CreateFileAsync("newfile.html", CreationCollisionOption.ReplaceExisting);
            await FileIO.WriteTextAsync(file, "one,two,three,four,five");
            var success = await InTheHand.System.Launcher.LaunchFileAsync(file);
            /*InTheHand.ApplicationModel.Email.EmailMessage m = new InTheHand.ApplicationModel.Email.EmailMessage();
            m.To.Add(new InTheHand.ApplicationModel.Email.EmailRecipient("[email protected]"));
            m.Subject = "Here's your file";
            m.Body = "File attached!!!";
            m.Attachments.Add(new InTheHand.ApplicationModel.Email.EmailAttachment("test.txt", file));
            await InTheHand.ApplicationModel.Email.EmailManager.ShowComposeNewEmailAsync(m);*/

            /*InTheHand.Media.Capture.CameraCaptureUI ccu = new InTheHand.Media.Capture.CameraCaptureUI();
            StorageFile sf = await ccu.CaptureFileAsync(InTheHand.Media.Capture.CameraCaptureUIMode.Photo);
            var p = await sf.GetBasicPropertiesAsync();*/
        }