public frmPreferences(SettingsManager settings) { InitializeComponent(); this.settings = settings; txtKSPDir1.Text = settings.LoadKey("KSPDirectory1"); txtKSPDir2.Text = settings.LoadKey("KSPDirectory2"); txtKSPDir3.Text = settings.LoadKey("KSPDirectory3"); txtModDirectory.Text = settings.LoadKey("ModDirectory"); }
public Form1() { InitializeComponent(); settings = new SettingsManager(); }