要关闭非模式对话框,应采取以下哪种方式。()
A:CDialog::OnOK()
B:CDialog::OnCancel()
C:CDialog::EndDialog()
D:CWnd::DestroyWindow()
出自:国家开放大学《面向对象程序设计》