示例#1
0
        public NewsPane()
        {
            InitializeComponent();

            Progress.Init(ExportBtn, MainGrid);

            From = DateTime.Today - TimeSpan.FromDays(7);
            To   = DateTime.Today + TimeSpan.FromDays(1);

            _entityRegistry = ConfigManager.GetService <IEntityRegistry>();

            ExportBtn.EnableType(ExportTypes.Bin, false);
        }
        public AllSecuritiesPane()
        {
            InitializeComponent();

            Progress.Init(ExportBtn, MainGrid);

            SecurityPicker.SecurityProvider = ConfigManager.TryGetService <FilterableSecurityProvider>();

            ExportBtn.EnableType(ExportTypes.Bin, false);

            MarketData.DataLoading += () => MarketDataBusyIndicator.IsBusy = true;
            MarketData.DataLoaded  += () => MarketDataBusyIndicator.IsBusy = false;
        }