private void loadProjectBtn_Click(object sender, EventArgs e) { AddNewRecent( Convert.ToString(Program.MainForm.CurrentProject.ProjectPath)); //Add it to the recent list. _versionHandler.DoIfUpdateNeeded(Program.MainForm.CurrentProject); Program.MainForm.Show(); _isClosedProgram = true; Close(); }