Hello World

  • 홈
  • 태그
  • 방명록

C# delegate 예제 1

[C#]MDI 폼 과 CHILD 폼 데이터 핸들링 예제

자식 폼에서 부모 폼의 함수를 호출하는 예제입니다. //자식 폼 public delegate void UserEventHandler(string strMsg); public event UserEventHandler DisplayMsg; private void FrmCorporation_Load(object sender, EventArgs e) { DisplayMsg("안녕하세요"); } //부모 폼 private void button1_Click(object sender, EventArgs e) { Form2 frm = new Form2(); frm.Owner = this; frm.MdiParent = this; frm.DisplayMsg += new Form2.UserEventHandler(ShowMs..

C# 2021.03.23
이전
1
다음
더보기
프로필사진

Hello World

  • 분류 전체보기 (198)
    • C# (160)
    • ORACLE (23)
    • MSSQL (1)
    • 한옥집 리모델링 (12)

Tag

나바위성지, 익산시 망성면, 한옥리모델링, 나바위성당, 귀농귀촌, WIN CE.NET, PDA, 한옥철거, C#, WINDOWS MOBILE,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/05   »
일 월 화 수 목 금 토
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 29 30 31

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바