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