forked from ermig1979/AntiDupl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added new button next to duplicate image results (above the Open Both…
… Folders button), with tooltip text "Open both images". Clicking this will open both of the displayed images simultaneously in the associated external image viewing application; Added new PNG image of two images; Adjusted column/row spacing of the button strip in both horizontal and vertical views, to keep the Go To Next/Previous Result arrow buttons centered, after the addition of the Open Both Folders & Open Both Images buttons.
- Loading branch information
John Ingersoll
committed
Jun 18, 2020
1 parent
79508db
commit da7223a
Showing
10 changed files
with
43 additions
and
22 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using System.Diagnostics; | ||
using System.Windows.Forms; | ||
|
||
namespace AntiDupl.NET | ||
{ | ||
static public class ImageOpener | ||
{ | ||
/// <summary> | ||
/// Opens the specified file using its default application. | ||
/// </summary> | ||
static public void OpenFile(string filePath) | ||
{ | ||
ProcessStartInfo startInfo = new ProcessStartInfo(); | ||
startInfo.FileName = filePath; | ||
try | ||
{ | ||
Process.Start(startInfo); | ||
} | ||
catch (System.Exception exeption) | ||
{ | ||
MessageBox.Show(exeption.Message); | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters