Advertisement
sve_vash

Page1.xaml.cs

Oct 25th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. using Xamarin.Forms;
  8. using Xamarin.Forms.Xaml;
  9.  
  10. namespace testmobil
  11. {
  12. [XamlCompilation(XamlCompilationOptions.Compile)]
  13. public partial class Page1 : ContentPage
  14. {
  15. public string text = null;
  16. public Page1()
  17. {
  18. InitializeComponent();
  19. text = null;
  20. }
  21.  
  22. public Page1(string s)
  23. {
  24. InitializeComponent();
  25. TextHolder.Text = s;
  26. text = s;
  27. }
  28.  
  29.  
  30.  
  31. private void Button_Clicked(object sender, EventArgs e)
  32. {
  33. text = TextHolder.Text;
  34. Navigation.PopAsync();
  35. }
  36. }
  37.  
  38.  
  39. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement