Beispiel #1
0
        private async void Init()
        {
            await DALUtil.Init();

            InstrumentListViewModel.Instance.Instruments = await Task.Run(() => { return(InstrumentDAL.Get()); });

            await Task.Run(() => { QuotationCenter.Init(); });

            QuotationListViewModel.Instance.Init();
            TradeAdapter.Instance.Start();
            this.IsBusy = false;
        }