Advertisement
Guest User

Untitled

a guest
May 30th, 2018
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. namespace FinalFantasy.Droid
  2. {
  3. [XamlCompilation(XamlCompilationOptions.Compile)]
  4. public partial class Page1 : ContentPage
  5. {
  6. public ObservableCollection<String> products = new ObservableCollection<string>{
  7. "Вишня",
  8. "Яблоко",
  9. "Мясо курицы",
  10. "Капуста" };
  11.  
  12. public Page1()
  13. {
  14. BindingContext = this;
  15. InitializeComponent();
  16. productslist.ItemsSource = products;
  17. }
  18.  
  19. private void showpopup(object sender, EventArgs e)
  20. {
  21.  
  22. PopupNavigation.Instance.PushAsync(new View1());
  23. }
  24. }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement