public TradesPane() { InitializeComponent(); FindedTrades.HideColumns(ExecutionTypes.Tick); Init(ExportBtn, MainGrid, GetTrades); }
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); }
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); }
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"); }
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"); }