private void ResetNetPosition()
 {
     this._GroupNetPositionModel = new GroupNetPositionModel();
     if (this._ReportDataManager.GroupNetPositionModels.ContainsKey(this._CurrentExchangeCode))
     {
         this._ReportDataManager.GroupNetPositionModels.Remove(this._CurrentExchangeCode);
     }
     this._SummaryColumns.Clear();
     this._AllColumns.Clear();
 }
        private void InitializeData()
        {
            this._BuyCellStyle = this.Resources["BuyCellStyle"] as Style;
            this._SellCellStyle = this.Resources["SellCellStyle"] as Style;
            this._BuySummaryGroupStyle = this.Resources["BuySummaryGroupCellStyle"] as Style;
            this._SellSummaryGroupStyle = this.Resources["SellSummaryGroupStyle"] as Style;
            this._GroupHeadStyle = this.Resources["GroupHeaderStyle"] as Style;
            this._SummaryGroupHeaderStyle = this.Resources["SummaryGroupHeaderStyle"] as Style;
            this._NormalHeaderStyle = this.Resources["NormalHeaderStyle"] as Style;

            this._ExchangeComboBox.ItemsSource = this._App.ExchangeDataManager.ExchangeCodes;
            this._ExchangeComboBox.SelectedItem = this._App.ExchangeDataManager.ExchangeCodes[0];

            this._CurrentExchangeCode = (string)this._ExchangeComboBox.SelectedItem;

            this._ReportDataManager = this._App.ExchangeDataManager.ReportDataManager;
            this._GroupNetPositionModel = new GroupNetPositionModel();

            this.QueryGroupNetPosition();
        }
        private void InitializeData()
        {
            this.GetStyle();

            this._ExchangeComboBox.ItemsSource = this._App.ExchangeDataManager.ExchangeCodes;
            this._ExchangeComboBox.SelectedItem = this._App.ExchangeDataManager.ExchangeCodes[0];

            this._CurrentExchangeCode = (string)this._ExchangeComboBox.SelectedItem;

            this._ReportDataManager = this._App.ExchangeDataManager.ReportDataManager;
            this._GroupNetPositionModel = new GroupNetPositionModel();
            this._OpenInterestSummaryModel = new OpenInterestSummaryModel();
        }