티스토리 뷰
private void validateUserEntry()
{
// Checks the value of the text.
if(serverName.Text.Length == 0)
{
// Initializes the variables to pass to the MessageBox.Show method.
string message = "You did not enter a server name. Cancel this operation?";
string caption = "Error Detected in Input";
MessageBoxButtons buttons = MessageBoxButtons.YesNo;
DialogResult result;
// Displays the MessageBox.
result = MessageBox.Show(message, caption, buttons);
if (result == System.Windows.Forms.DialogResult.Yes)
{
// Closes the parent form.
this.Close();
}
}
}
기타 관련 자료
MessageBoxButtons 열거형
MessageBoxDefaultButton 열거형
MessageBoxIcon 열거형
MessageBoxOptions 열거형
- Total
- Today
- Yesterday
- .submit()
- error-java
- await
- docker
- 스프링 시큐리티(spring security)-http basic 인증
- REST API
- jstl(java standard tag library)-core
- In App Purchase
- 스프링 프레임워크(spring framework)
- nl2br
- 특정 문자를 기준으로 자르기
- java web-mvc
- System.Diagnostics
- jsp 오픈 소스
- java.sql
- 제품 등록
- 문자 자르기
- 메이븐(maven)
- java 키워드 정리
- 진수 변환
- 스프링 프레임워크(spring framewordk)
- java-개발 환경 설정하기
- 인텔리제이(intellij)
- 람다식(lambda expression)
- MainActor
- system.io
- 표현 언어(expression language)
- 스프링 시큐리티(spring security)
- jstl(java standard tag library)
- React
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |