Advertisement
Guest User

Untitled

a guest
Aug 18th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.62 KB | None | 0 0
  1. using APPChamada.Class;
  2. using APPChamada.Interface;
  3. using System;
  4. using Xamarin.Forms;
  5. using Xamarin.Forms.Xaml;
  6.  
  7. namespace APPChamada
  8. {
  9.     [XamlCompilation(XamlCompilationOptions.Compile)]
  10.     public partial class Calls : ContentPage
  11.     {
  12.         public Calls()
  13.         {
  14.             InitializeComponent();
  15.            
  16.             BoxViewWithLongPressGesture BoxCall = new BoxViewWithLongPressGesture();
  17.             StackLayoutCalls.Children.Add(BoxCall, 0, 0);
  18.  
  19.             BoxCall.PanUpdated += async (k, y) =>
  20.             {
  21.                 Console.WriteLine("test");
  22.             }
  23.  
  24.         }
  25.     }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement