private void 폼간데이터전송나머지타입의데이터ToolStripMenuItem_Click(object sender, EventArgs e) { frmDataTransferEx2 fetfe2 = new frmDataTransferEx2(); fetfe2.MdiParent = this; fetfe2.Show(); }
private void btnSend_Click(object sender, EventArgs e) { frmDataTransferEx2 fdte = (frmDataTransferEx2)Owner; //부모폼을 지정해야 한다. fdte.Msg = txtMessage.Text; this.Dispose(); // 자원해제 this.Close(); }