Пример #1
0
        /*
         * Pre-condition:
         *      lsData is initialized
         * Post-Condition:
         *      Calculate data with LS and ILS methods
         *      and show chart with builded data
         */
        private void BtnIntegratedLeastSquares_Click(object sender, RoutedEventArgs e)
        {
            if (lsData == null)
            {
                return;
            }

            lsData.CalcResults();

            ChartWindow chartWindow = new ChartWindow(lsData);

            chartWindow.Show();
        }
        private void BtnChart_Click(object sender, RoutedEventArgs e)
        {
            ChartWindow chartWindow = new ChartWindow(lsData);

            chartWindow.Show();
        }