Ejemplo n.º 1
0
        private void Button_Clicked(object sender, EventArgs e)
        {
            var b = sender as Button;
            var x = b.BindingContext as LItem;

            InputPopup.Remove(x.Rnd);
        }
Ejemplo n.º 2
0
 public static void Start()
 {
     Device.StartTimer(TimeSpan.FromSeconds(1), () => {
         DateTime v = DateTime.Now;
         string x1  = v.ToString();
         TimeSpan t = v.TimeOfDay;
         string x2  = t.ToString();
         for (int x = 0; x < MainView._Notes.Count; x++)
         {
             var _ = MainView._Notes[x];
             if (_.Time == x2 && _.Date == x1)
             {
                 PlaySound("success");
                 InputPopup.Remove(_.Rnd);
             }
         }
         return(true);
     });
 }