private void InitializeGuiAndTreads() { showLoading = new guiAndThreads(ShowLoading); hideLoading = new guiAndThreads(HideLoading); showLoadingBacktest = new guiAndThreads(ShowLoadingBacktest); hideLoadingBacktest = new guiAndThreads(HideLoadingBacktest); }
/// <summary> /// A new thread is created when backtest calculations /// are loading. /// </summary> private void Loading() { showLoading = new guiAndThreads(ShowLoading); hideLoading = new guiAndThreads(HideLoading); MakeNewTread(LoadingThread); }