Exemplo n.º 1
0
        public override void Load(SettingsStorage storage)
        {
            base.Load(storage);

            DepthGrid.Load(storage.GetValue <SettingsStorage>("DepthGrid"));
            Depth.SelectedIndex = storage.GetValue <int>("Depth");

            if (storage.ContainsKey("DepthGenerationInterval"))
            {
                DepthGenerationInterval.Value = storage.GetValue <int>("DepthGenerationInterval");
            }

            BuildFrom.SelectedIndex = storage.GetValue <int>("BuildFrom");
        }
Exemplo n.º 2
0
        public override void Load(SettingsStorage storage)
        {
            base.Load(storage);

            DepthGrid.Load(storage.GetValue <SettingsStorage>("DepthGrid"));
            Depth.SelectedIndex = storage.GetValue <int>("Depth");

            if (storage.ContainsKey("DepthGenerationInterval"))
            {
                DepthGenerationInterval.Value = storage.GetValue <int>("DepthGenerationInterval");
            }

            if (storage.ContainsKey("IsBuildFromOrderLog"))
            {
                IsBuildFromOrderLog.IsChecked = storage.GetValue <bool>("IsBuildFromOrderLog");
            }
        }