Logo

GitLab

Sign in

Fabio Spinelli / medtest_xamarin

  • Back to Dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • medtest_xamarin
  • medtest
  • Pagina2.xaml.cs
  • esempio
    baa8163b
    Fabio Spinelli authored
    2017-11-28 12:52:14 +0100  
    Browse Code »
Pagina2.xaml.cs 492 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
using System;
using System.Collections.Generic;

using Xamarin.Forms;

namespace medtest
{
    public partial class Pagina2 : ContentPage
    {
        public string Testo { get; set;  }

        void Parla(object sender, System.EventArgs e)
        {
            DependencyService.Get<ITextToSpeech>().Speak(Testo);
        }

        public Pagina2()
        {
            Testo = "Dimmi qualcosa";
            BindingContext = this;
            InitializeComponent();
        }
    }
}