Esempio n. 1
0
        private void ShowLogin(string error)
        {
            FormLogin loginForm = new FormLogin(error);
            var       result    = loginForm.ShowDialog();

            while (result != DialogResult.Yes)
            {
            }

            this.Username = loginForm.Username;
            Write($"DoctorLogin\r\n{loginForm.Username}\r\n{loginForm.Password}");
        }
Esempio n. 2
0
        private void ShowLogin()
        {
            FormLogin loginForm = new FormLogin();
            var       result    = loginForm.ShowDialog();

            while (result != DialogResult.Yes)
            {
            }

            Write($"DoctorLogin\r\n{loginForm.Username}\r\n{loginForm.Password}");
            Debug.WriteLine("Doctorlogin send to server...");
        }