Пример #1
0
        public GluingDataPane()
        {
            InitializeComponent();

            _entityRegistry = ConfigManager.GetService <IEntityRegistry>();

            SecurityPicker.SecurityProvider = ConfigManager.GetService <ISecurityProvider>();
            SecurityPicker.ExcludeAllSecurity();

            MarketData.DataLoading += () => MarketDataBusyIndicator.IsBusy = true;
            MarketData.DataLoaded  += () => MarketDataBusyIndicator.IsBusy = false;
        }
        public AllSecuritiesPane()
        {
            InitializeComponent();

            Progress.Init(ExportBtn, MainGrid);

            SecurityPicker.SecurityProvider = ConfigManager.GetService <ISecurityProvider>();
            SecurityPicker.ExcludeAllSecurity();

            ExportBtn.EnableType(ExportTypes.Bin, false);

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