void CMyDlg::OnButton1() //{ // TODO: Add your control notification handler code here UpdateData(TRUE);CDlg1 Dlg;Dlg.m_Edit2=m_Edit1;//m_Edit1.Undo();CDialog::OnOK();Dlg.DoModal();//m_Edit1.Empty();//return;//UpdateData(FALSE);}