diff --git a/AIParkingApplication/LoginForm.cs b/AIParkingApplication/LoginForm.cs index 876a9b2..90ba906 100644 --- a/AIParkingApplication/LoginForm.cs +++ b/AIParkingApplication/LoginForm.cs @@ -18,7 +18,7 @@ namespace AIParkingApplication } txtUsername.Focus(); lblLoginStatus.Text = string.Empty; - this.AcceptButton = btnLogin; + AcceptButton = btnLogin; } private async void Login() @@ -77,12 +77,12 @@ namespace AIParkingApplication } } - private void btnLogin_Click(object sender, System.EventArgs e) + private void btnLogin_Click(object sender, EventArgs e) { Login(); } - private void btnExit_Click(object sender, System.EventArgs e) + private void btnExit_Click(object sender, EventArgs e) { if (DialogResult.OK == MessageBox.Show("AIParking - Bạn muốn thoát ứng dụng?", "Cảnh báo!", MessageBoxButtons.OKCancel, MessageBoxIcon.Question)) {