[C#, Winform]Password 입력 항목 구현
2021. 7. 15. 15:37ㆍ2018년 이전 관심사/프로그램 언어
반응형
아래 사진과 같이 패스워드를 입력 했을 때, * 모양으로 암호화 하기 위한 기능 구현에 대해 설명 한다.



private void checkBox_Vdv261VisiblePassword_CheckedChanged(object sender, EventArgs e)
{
if( checkBox_Vdv261VisiblePassword.Checked == true )
{
textBox_V2icpPassword.PasswordChar = default(char);
}
else
{
textBox_V2icpPassword.PasswordChar = '*';
}
}반응형
'2018년 이전 관심사 > 프로그램 언어' 카테고리의 다른 글
| [FreeRTOS] Task에서 사용하고 있는 최대 Stack Size 확인 법 (0) | 2021.07.23 |
|---|---|
| [C언어] NULL, 0 관련 (0) | 2021.07.22 |
| [C언어]printf string format %*.*s (0) | 2021.07.20 |
| [C#, Winform]checkedBoxList 항목 중 하나만 선택 하는 방법 (0) | 2021.07.14 |
| [C#, Winform]Form 종료 이벤트 설정 방법 (0) | 2021.07.14 |