-
[Form] 부모창에서 자식창으로 값넘기기 -퍼옴.NET/ASP.NET 2008. 12. 15. 22:43반응형
부모창
public class FParent : System.Windows.Forms.Form{
private void btnChild_Click(object sender, System.EventArgs e)
{
Child child = new Child();
child.Owner = this; //부모값넘김
child.Show();
}
}
자식창
private void Child_Load(object sender, System.EventArgs e)
{
this.txtID.Text = ((FParent)(this.Owner)).PARENTID.Text;
}
[Form] 부모창에서 자식창으로 값넘기기 .NET 기초2005/12/29 12:37
http://blog.naver.com/kojaedoo/100020622611
[출처] [Form] 부모창에서 자식창으로 값넘기기|작성자 스티커
반응형'.NET > ASP.NET' 카테고리의 다른 글
ASP.NET 보안 (Security) 쿠키(cookie)란? API(Application Interface)란? (0) 2008.12.17 ASP.NET Sitemap 으로 만들기 2 (0) 2008.12.17 ASP.NET 사이트 맵 (0) 2008.12.16 ASP.NET 마스트 페이지의 컨트롤을 찾을때 이벤트순서와관련 마스터 페이지 관련 PPT와 예제 (0) 2008.12.16 ASP.NET 마스터 페이지 만드는법 (0) 2008.12.15 ASP.NET 자바스크립트 alret 메세지디버깅 얼럿 메세지 뛰우는 방법 ~!!!!!!!!!!!!! ASP.NET 메세지 뛰우는 방법 Response.Write("<script>javascript:alert('" + strQry + "') </script>"); (0) 2008.12.12 ASP.NET 연결기반 업데이트 예제 (0) 2008.12.12 ASP.NET 연결기반 데이터베이스 연동 중요 SQLConnection (SELECT, INSERT ....) (0) 2008.12.10