public void WindowClosing() { AnchoredWindows.RemoveIfContains(this); UnsubscribeFromWindowEvents(); CloseWindow(); Level2Settings.Default.PropertyChanged -= SettingsChanged; }
private void WindowClosing() { AnchoredWindows.RemoveIfContains(this); UnsubscribeFromWindowEvents(); UnsubscribeFromOrderCountUpdates(); CloseWindow(); }
//On closing public void WindowClosing() { AnchoredWindows.RemoveIfContains(this); OhlcDataSeries = null; SharedXRange = null; StockChartAnnotations = null; XyDataSeries = null; YRange = null; _candleSerializer = null; UnsubscribeFromWindowEvents(); CloseWindow(); }