Example #1
0
        private async void LoginClicked(object sender, RoutedEventArgs e)
        {
            Busy.SetBusy(true, "Pairing...");

            if (await BandService.Instance.Connect())
            {
                LoggedIn?.Invoke(this, null);
                HideRequested?.Invoke(this, null);
            }

            Busy.SetBusy(false);
        }
Example #2
0
        private async void LoginClicked(object sender, RoutedEventArgs e)
        {
            Busy.SetBusy(true, "Connecting...");

            if (await MobileService.Instance.FacebookLogIn())
            {
                LoggedIn?.Invoke(this, EventArgs.Empty);
                HideRequested?.Invoke(this, EventArgs.Empty);
            }

            Busy.SetBusy(false);
        }
Example #3
0
 private void CloseClicked(object sender, RoutedEventArgs e)
 {
     // raise event
     HideRequested?.Invoke(this, EventArgs.Empty);
 }
Example #4
0
 private void CancelClicked(object sender, RoutedEventArgs e)
 {
     HideRequested?.Invoke(this, EventArgs.Empty);
 }
Example #5
0
 public void HideView()
 {
     HideRequested?.Invoke();
 }
Example #6
0
 public void Hide() => HideRequested?.Invoke(this, EventArgs.Empty);
Example #7
0
 public static void HideAdsRequest()
 {
     HideRequested?.Invoke(null, EventArgs.Empty);
 }
Example #8
0
 protected virtual void OnHide()
 {
     HideRequested?.Invoke(this, EventArgs.Empty);
 }
Example #9
0
 public void Hide()
 {
     IsHided = true;
     HideRequested?.Invoke(this, EventArgs.Empty);
 }