private void closeAllToolStripMenuItem_Click(object sender, EventArgs e) { FileCommands.CloseAll(this.dockPanel1.DocumentsToArray()); }
void closeAllContextMenuItem_Click(object sender, EventArgs e) { FileCommands.CloseAll(this.parent.DockPanel.DocumentsToArray()); }