Beispiel #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            LoginResponse lr = new LoginResponse();

            if (lr.Login(tb_username.Text, tb_password.Text))
            {
                Hide();
                new Main().Show();
            }
            else
            {
                MessageBox.Show(lr.info);
            }
        }