예제 #1
0
        public void ShowAuthForm()
        {
            if (this.authForm == null)
            {
                this.authForm = new AuthForm();
            }

            authForm.Show();
        }
예제 #2
0
        private void ShowAuthForm()
        {
            if (_authFormOpened)
            {
                AuthForm.Activate();
                AuthForm.Focus();
                return;
            }

            AuthForm        = new AuthForm(ApiEndpoint);
            _authFormOpened = true;
            AuthForm.Show();
            _authFormOpened = false;
        }