Esempio n. 1
0
 private void closeToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (this.ActiveDocument != null)
     {
         FileCommands.Close(this.ActiveDocument);
     }
 }
Esempio n. 2
0
 void closeContextMenuItem_Click(object sender, EventArgs e)
 {
     FileCommands.Close(this.parent);
 }