Esempio n. 1
0
        //########################## EXTRACT METHODS ##########################
        void calculation()
        {
            printText("Doing Calculation...");

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

            printText("Calculation Completed!");
        }
Esempio n. 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();
        }