void DefaultProxyDisplayerSelected(object sender, DisplayerEventArgs e) { if (!_useEvent) { IDisplayer displayer = e.Displayer; StorePageOrder(displayer); } }
private void defaultProxy_DisplayerDeleted(object sender, DisplayerEventArgs e) { DispatcheredTabPage tabPage = e.Displayer as DispatcheredTabPage; if (tabPage != null && !tabPage.IsDisposed) { //tabPage.Dispose(); } //nextPositonsDisplayrList.Remove(e.Displayer); //previousPositonsDisplayrList.Remove(e.Displayer); //currentDisplayer = null; }
void defaultProxy_DisplayerDeleted(object sender, DisplayerEventArgs e) { nextPositonsDisplayrList.Remove(e.Displayer); previousPositonsDisplayrList.Remove(e.Displayer); currentDisplayer = null; }