示例#1
0
 protected void OnDeleteEvent(object sender, DeleteEventArgs a)
 {
     var advisor = new DocumentAdvisor(m_app, this, a);
     advisor.Do(DocumentAdvisor.Event.Closing);
 }
示例#2
0
 protected void OnSaveAsActionActivated(object sender, EventArgs e)
 {
     var advisor = new DocumentAdvisor(m_app, this, null);
     advisor.Do(DocumentAdvisor.Event.SaveAs);
 }