My Name is Kay....

DIY , 먹방 , 개발 , 육아 , 여행 좋아합니다.
AdBlock 사용시 화면이 정상적으로 노출되지 않습니다.
포스팅 관련 문의 및 개발 문의는 Email : wkzkfmxksi@gmail.com

추가 포스팅이 이뤄지지 않는 블로그입니다. 문의는 wkzkfmxksi@gmail.com 으로 연락주세요.
C#
2013.07.22 17:09

Confirm Massage 창 띄우기

kay
조회 수 13001 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

Confirm Massage 창 띄우기 

msdn Url : http://msdn.microsoft.com/ko-kr/library/system.windows.forms.messagebox.aspx


private void Form1_FormClosing(object sender, FormClosingEventArgs e)
{
    const string message =
        "Are you sure that you would like to close the form?";
    const string caption = "Form Closing";
    var result = MessageBox.Show(message, caption,
                                 MessageBoxButtons.YesNo,
                                 MessageBoxIcon.Question);

    // If the no button was pressed ...
    if (result == DialogResult.No)
    {
        // cancel the closure of the form.
        e.Cancel = true;
    }
}
?

  1. DataGridView 에서 열 숨기기

  2. DataGridView 에서 Cells 값 Null/Empty 체크하기

  3. dataGridView 내용 정렬 ( DefaultCellStyle , ColumnHeadersDefaultCellStyle )

  4. DataGridView ComboBox editingcontrolshowing 이벤트 걸기

  5. Confirm Massage 창 띄우기

  6. comboBox 디비 데이터로 채워넣기

  7. ComboBox ReadOnly 속성

  8. ComboBox Option ( Add , Set , Get )

  9. C# 외부 프로그램 실행하기 ( Process.Start )

  10. C# 엑셀데이터 읽어서 디비에 저장

  11. C# 소수점 지정

  12. C# SMTP 서버를 이용한 메일 발송

  13. C# FTP 이용시 유용한 클래스

  14. appSettings 값 추가하기 , 읽어오기 , 값 존재 유무 체크

  15. .net Release / Debug 콤보박스 안보일때

Board Pagination Prev 1 2 Next
/ 2