Пример #1
0
        //########################## EXTRACT METHODS ##########################
        void calculation()
        {
            printText("Doing Calculation...");

            Invoke((MethodInvoker)delegate
            {
                StudyResult studyResult = new StudyResult(StockList);
                studyResult.Show();
            });

            printText("Calculation Completed!");
        }
Пример #2
0
        private void calculation()
        {
            LogTextbox.Text += "Doing Calculation... \n";
            LogTextbox.SelectionStart = LogTextbox.Text.Length;
            LogTextbox.ScrollToCaret();

            StudyResult studyResult = new StudyResult(StockList);
            studyResult.Show();

            LogTextbox.Text += "Calculation Completed! \n";
            LogTextbox.SelectionStart = LogTextbox.Text.Length;
            LogTextbox.ScrollToCaret();
        }