Skip to content

Commit

Permalink
Right click menu to open the containing folder
Browse files Browse the repository at this point in the history
  • Loading branch information
celeron533 committed Feb 25, 2022
1 parent 1e81d16 commit d10e954
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 3 deletions.
24 changes: 23 additions & 1 deletion ALMLauncher/Launcher.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions ALMLauncher/Launcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -117,5 +117,16 @@ private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs
{
Process.Start("https://github.com/celeron533/ALMLauncher");
}

private void openContainingFolderToolStripMenuItem_Click(object sender, EventArgs e)
{
OpenFolder(listBoxDep.SelectedItem as DeploymentInfo);
}

private void OpenFolder(DeploymentInfo deploymentInfo)
{
if (deploymentInfo == null) return;
Process.Start("explorer.exe", deploymentInfo.Path);
}
}
}
3 changes: 3 additions & 0 deletions ALMLauncher/Launcher.resx
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,7 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="contextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>
4 changes: 2 additions & 2 deletions ALMLauncher/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("1.1.0.0")]
[assembly: AssemblyFileVersion("1.1.0.0")]

0 comments on commit d10e954

Please sign in to comment.