1、
http://www.foxtable.com/webhelp/scr/0013.htm
2、
3、BeforeCloseProject事件,写代码
If MessageBox.Show("是否保存", "提示", MessageBoxButtons.YesNo) = DialogResult.Yes Then Syscmd.Project.Backup("d:\",True)End If