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

            FindedTrades.HideColumns(ExecutionTypes.Tick);
            Init(ExportBtn, MainGrid, GetTrades);
        }
Пример #2
0
        public override void Save(SettingsStorage storage)
        {
            base.Save(storage);

            storage.SetValue("FindedTrades", FindedTrades.Save());
            storage.SetValue("IsBuildFromOrderLog", IsBuildFromOrderLog.IsChecked == true);
            storage.SetValue("IsNonSystem", IsNonSystem.IsChecked == true);
        }
Пример #3
0
        public override void Save(SettingsStorage storage)
        {
            base.Save(storage);

            storage.SetValue("FindedTrades", FindedTrades.Save());
            storage.SetValue("BuildFrom", BuildFrom.SelectedIndex);
            storage.SetValue("IsNonSystem", IsNonSystem.IsChecked == true);
        }
Пример #4
0
        public override void Load(SettingsStorage storage)
        {
            base.Load(storage);

            FindedTrades.Load(storage.GetValue <SettingsStorage>("FindedTrades"));
            IsBuildFromOrderLog.IsChecked = storage.GetValue <bool>("IsBuildFromOrderLog");
            IsNonSystem.IsChecked         = storage.GetValue <bool>("IsNonSystem");
        }
Пример #5
0
        public override void Load(SettingsStorage storage)
        {
            base.Load(storage);

            FindedTrades.Load(storage.GetValue <SettingsStorage>("FindedTrades"));
            BuildFrom.SelectedIndex = storage.GetValue <int>("BuildFrom");
            IsNonSystem.IsChecked   = storage.GetValue <bool>("IsNonSystem");
        }