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