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); }
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); }
private void CloseClicked(object sender, RoutedEventArgs e) { // raise event HideRequested?.Invoke(this, EventArgs.Empty); }
private void CancelClicked(object sender, RoutedEventArgs e) { HideRequested?.Invoke(this, EventArgs.Empty); }
public void HideView() { HideRequested?.Invoke(); }
public void Hide() => HideRequested?.Invoke(this, EventArgs.Empty);
public static void HideAdsRequest() { HideRequested?.Invoke(null, EventArgs.Empty); }
protected virtual void OnHide() { HideRequested?.Invoke(this, EventArgs.Empty); }
public void Hide() { IsHided = true; HideRequested?.Invoke(this, EventArgs.Empty); }