Esempio n. 1
0
 private void dockingManager_RequestDocumentClose(object sender, RequestDocumentCloseEventArgs e)
 {
     MyDocs.Remove(e.DocumentToClose);
 }
Esempio n. 2
0
 void dm_RequestDocumentClose(object sender, RequestDocumentCloseEventArgs e)
 {
     GameDeskControl gdc = (GameDeskControl)e.DocumentToClose;
     DebuggerIX.WriteLine("[GameDocs]", "Close", string.Format("Tab {0} was closed", gdc.Title));
     gdc.Terminate();
     GameViews.Remove(gdc);
 }