private void txt_Password_Mouse_Enter(object sender, EventArgs e) { Textpassword.Focus(); // thay ảnh cho txt password pictureBoxPassword.Image = Properties.Resources.unlock_2; // text password Textpassword.ForeColor = Color.FromArgb(78, 184, 206); panel2.BackColor = Color.FromArgb(78, 184, 206); // text user TextUser.ForeColor = Color.WhiteSmoke; panel1.BackColor = Color.WhiteSmoke; }
private void txt_Password_Mouse_DoubleClick(object sender, MouseEventArgs e) { Textpassword.Clear(); }