public override void Save(SettingsStorage settings) { settings.SetValue("GridSettings", MdControl.Save()); settings.SetValue("BuySellSettings", BuySellPanel.Save()); base.Save(settings); }
void IPersistable.Save(SettingsStorage storage) { storage.SetValue("SecurityId", SecurityPicker.SelectedSecurity != null ? SecurityPicker.SelectedSecurity.Id : null); storage.SetValue("SecurityAsksGrid", SecurityAsksGrid.Save()); storage.SetValue("SecurityBidsGrid", SecurityBidsGrid.Save()); storage.SetValue("BuySellSettings", BuySellPanel.Save()); }