protected override void updateRecentFilesSettings(string bidPath) { if (bidPath != null && bidPath != "") { string first = EBSettings.FirstRecentBid; string second = EBSettings.SecondRecentBid; string third = EBSettings.ThirdRecentBid; string fourth = EBSettings.FourthRecentBid; string fifth = EBSettings.FifthRecentBid; string limbo = bidPath; if (limbo == first) { EBSettings.Save(); return; } else { EBSettings.FirstRecentBid = limbo; limbo = first; } if (limbo == second) { EBSettings.Save(); return; } else { EBSettings.SecondRecentBid = limbo; limbo = second; } if (limbo == third) { EBSettings.Save(); return; } else { EBSettings.ThirdRecentBid = limbo; limbo = third; } if (limbo == fourth) { EBSettings.Save(); return; } else { EBSettings.FourthRecentBid = limbo; limbo = fourth; } if (limbo == fifth) { EBSettings.Save(); return; } else { EBSettings.FifthRecentBid = limbo; } EBSettings.Save(); } }
private void applySettingsExecute() { EBSettings.Save(); settingsChanged = false; }