Ejemplo n.º 1
0
 public void LoadFromDisk(form_main main)
 {
     fillList         = Settings1.Default.FillListWhenNoFilter;
     ignoreBounds     = Settings1.Default.IgnoreBoundsWhenSearching;
     filtersToShow    = (RNGColumns)Settings1.Default.FilterColumns;
     columnsToShow    = (RNGColumns)Settings1.Default.ResultColumns;
     riddleDifficulty = (RiddleDifficulty)Settings1.Default.RiddleDifficulty;
     gotLeaveEnding   = Settings1.Default.GotLeaveEnding;
     gotMariaEnding   = Settings1.Default.GotMariaEnding;
     gotWaterEnding   = Settings1.Default.GotWaterEnding;
     lowerFrameBound  = Settings1.Default.FrameLowerBound;
     higherFrameBound = Settings1.Default.FrameHigherBound;
     main.Width       = Settings1.Default.MainFormWidth;
     main.Height      = Settings1.Default.MainFormHeight;
 }
Ejemplo n.º 2
0
 public void SaveToDisk(form_main main)
 {
     Settings1.Default.FillListWhenNoFilter      = fillList;
     Settings1.Default.IgnoreBoundsWhenSearching = ignoreBounds;
     Settings1.Default.FilterColumns             = (int)filtersToShow;
     Settings1.Default.ResultColumns             = (int)columnsToShow;
     Settings1.Default.RiddleDifficulty          = (int)riddleDifficulty;
     Settings1.Default.GotLeaveEnding            = gotLeaveEnding;
     Settings1.Default.GotMariaEnding            = gotMariaEnding;
     Settings1.Default.GotWaterEnding            = gotWaterEnding;
     Settings1.Default.FrameLowerBound           = lowerFrameBound;
     Settings1.Default.FrameHigherBound          = higherFrameBound;
     Settings1.Default.MainFormWidth             = main.Width;
     Settings1.Default.MainFormHeight            = main.Height;
     Settings1.Default.Save();
 }