public Luke() { InitializeComponent(); p = new Preferences(); p.Load(); }
public OpenIndex(Preferences p) { InitializeComponent(); _preferences = p; foreach (string path in _preferences.MruList) { textPath.Items.Add(path); } if (_preferences.MruList.Count > 0) { folderBrowser.SelectedPath = _preferences.MruList[0]; } }