Skip to content
This repository was archived by the owner on May 19, 2021. It is now read-only.

Commit 1fb1b7b

Browse files
author
Peter Witt
committed
You can now double click to launch a project
1 parent 9b01e1d commit 1fb1b7b

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

UnityLauncher/Form1.Designer.cs

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

UnityLauncher/Form1.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,6 +734,15 @@ private void gridRecent_KeyDown(object sender, KeyEventArgs e)
734734
}
735735
}
736736

737+
//Checks if you are doubleclicking the current cell
738+
private void GridRecent_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
739+
{
740+
if(e.RowIndex == gridRecent.CurrentCell.RowIndex)
741+
{
742+
LaunchSelectedProject();
743+
}
744+
}
745+
737746
// set basefolder of all unity installations
738747
private void btn_setinstallfolder_Click(object sender, EventArgs e)
739748
{

0 commit comments

Comments
 (0)