Ejemplo n.º 1
0
        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");
        }
Ejemplo n.º 2
0
 public Form1()
 {
     InitializeComponent();
      settings = new SettingsManager();
 }