void FillFields() { this.fieldName.Text = StorageManager.GetNextName(StorageManager.GetUserDirectory("Projects"), "Project{0}"); this.fieldLocation.Text = System.IO.Path.Combine( StorageManager.GetUserDirectory("Projects"), invalidChars.Replace(this.fieldName.Text, "") ); }
static SettingsManager() { GlobalSettings = new SettingsFile( System.IO.Path.Combine( StorageManager.GetUserDirectory("Settings"), "Settings.xml" ), false ); }