private void NewProjectFormLoad(object sender, EventArgs e)
{
string dir = PathHelper.DefaultSaveDirectory;
string path, name;
int count = 0;
while (true)
{
count++;
name = "Project" + count;
path = Path.Combine(dir, name);
if (!Directory.Exists(path))
break;
}
this._location = Path.GetDirectoryName(path);
this._folder = this.textBoxFolderName.Text = name;
this.RefreshTemplates();
this.comboTemplates.SelectedIndex = 0;
}