Ejemplo n.º 1
0
        private void but_enable_Click(object sender, EventArgs e)
        {
            try
            {
                if (_altitudeAngelService.IsSignedIn)
                {
                    CustomMessageBox.Show("You are already signed in", "Altitude Angel");
                    return;
                }

                _altitudeAngelService.SignInAsync();
            }
            catch (TypeInitializationException)
            {
                CustomMessageBox.Show("Please update your dotnet version, you cannot use the feature without this.", Strings.ERROR);
            }
        }
Ejemplo n.º 2
0
 private void but_SignIn_Click(object sender, EventArgs e)
 {
     _altitudeAngelService.SignInAsync();
     RefreshControlStates();
 }