示例#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");
        }
示例#2
0
文件: Form1.cs 项目: Rhayle/KSPMMTool
 public Form1()
 {
     InitializeComponent();
      settings = new SettingsManager();
 }