Resolve "Set up the start screen to choose project" #60

Merged
thorsten merged 11 commits from 2-set-up-the-start-screen-to-choose-project into main 2022-06-12 14:21:55 +00:00
2 changed files with 6 additions and 4 deletions
Showing only changes of commit 915924c291 - Show all commits

No files matched your search

@@ -109,6 +109,7 @@
this.buttonNew.Text = "New Project";
this.buttonNew.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
this.buttonNew.UseVisualStyleBackColor = true;
this.buttonNew.Click += new System.EventHandler(this.buttonNew_Click);
//
// buttonOpen
//
@@ -130,13 +131,13 @@
this.contextMenuRecentProjects.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripMenuItem1});
this.contextMenuRecentProjects.Name = "contextMenuRecentProjects";
this.contextMenuRecentProjects.Size = new System.Drawing.Size(181, 48);
this.contextMenuRecentProjects.Size = new System.Drawing.Size(73, 26);
this.contextMenuRecentProjects.Closing += new System.Windows.Forms.ToolStripDropDownClosingEventHandler(this.contextMenuRecentProjects_Closing);
//
// toolStripMenuItem1
//
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
this.toolStripMenuItem1.Size = new System.Drawing.Size(180, 22);
this.toolStripMenuItem1.Size = new System.Drawing.Size(72, 22);
//
// LoaderStart
//
@@ -69,14 +69,15 @@ public partial class LoaderStart : UserControl
this.areRecentProjectsVisible = true;
}
private void browseForProject()
private void buttonNew_Click(object sender, EventArgs e)
{
// TODO: Browse for project
// TODO: Browse for new project's location
// TODO: Apply new project's path
LoaderStart.UpdateRecentProjectsWithPruning(string.Empty);
// TODO: Open the project
}
// TODO: Handle cancel event
// TODO: Apply chosen project's path