winforms users crud

This commit is contained in:
Dimitar Byalkov
2023-03-31 01:49:56 +02:00
parent 99e2b2a0cd
commit cd3a375b62
9 changed files with 530 additions and 2 deletions

View File

@@ -20,8 +20,12 @@ namespace WinForms
}
else
{
MessageBox.Show($"Welcome, {user.Name}", "Login successful", MessageBoxButtons.OK, MessageBoxIcon.Information);
Dashboard dashboard = new Dashboard(this, user);
this.Hide();
dashboard.Show();
}
tbUsername.Text = "";
tbPassword.Text = "";
}
}
}