public Statistics(int id)
        {
            InitializeComponent();
            this.Id = id;

            engine = new EngineStatistics(this.Id);

            CompleteSeriesNamesList();
            CompleteXChartValuesListForFirstChart();
            CompleteTitlesForFirstPie();
            CompleteXChartValuesListForSecondChart();
            CompleteTitlesForSecondPie();
            CompleteTitlesForSecondChart();

            CompleteComboboxes();
            cbxOperations.SelectedIndex     = 0;
            cbxNumberOfDigits.SelectedIndex = 0;
            CreateTheCheckBoxesEvents();
        }
        public Statistics(int id)
        {
            InitializeComponent();
            this.Id = id;

            engine = new EngineStatistics(this.Id);

            CompleteSeriesNamesList();
            CompleteXChartValuesListForFirstChart();
            CompleteTitlesForFirstPie();
            CompleteXChartValuesListForSecondChart();
            CompleteTitlesForSecondPie();
            CompleteTitlesForSecondChart();

            CompleteComboboxes();
            cbxOperations.SelectedIndex = 0;
            cbxNumberOfDigits.SelectedIndex = 0;
            CreateTheCheckBoxesEvents();
        }