Exemplo n.º 1
0
        private void LoginButton_Click(object sender, EventArgs e)
        {
            try
            {
                LoggingIn.Invoke();

                showMenuFormAndUpdateMainForm();
            }
            catch (Exception exception)
            {
                MessageBox.Show("Couldn't login please try again", exception.Message);
            }
        }
Exemplo n.º 2
0
 protected virtual void OnLoggingIn() => LoggingIn?.Invoke();