TextViewer.xaml.cs 395 B

123456789101112131415161718192021
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using Xamarin.Forms;
  7. using Xamarin.Forms.Xaml;
  8. namespace comal.timesheets
  9. {
  10. [XamlCompilation(XamlCompilationOptions.Compile)]
  11. public partial class TextViewer : ContentPage
  12. {
  13. public TextViewer (string text)
  14. {
  15. InitializeComponent ();
  16. textLbl.Text = text;
  17. }
  18. }
  19. }