-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
210 additions
and
140 deletions.
There are no files selected for viewing
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,17 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace PegasusExportPlugin.Extensions | ||
{ | ||
public static class String | ||
{ | ||
public static bool EndsWith(this string stringValue, char value) | ||
{ | ||
int length = stringValue.Length; | ||
return length != 0 && (int)stringValue[length - 1] == (int)value; | ||
} | ||
} | ||
} |
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,28 @@ | ||
using PegasusExportPlugin.Properties; | ||
using System.Drawing; | ||
using Unbroken.LaunchBox.Plugins; | ||
|
||
namespace PegasusExportPlugin | ||
{ | ||
class ProgramEntry : ISystemMenuItemPlugin | ||
{ | ||
public string Caption => "Pegasus Export"; | ||
|
||
public Image IconImage => Resources.favicon96; | ||
|
||
public bool ShowInLaunchBox => true; | ||
|
||
public bool ShowInBigBox => false; | ||
|
||
public bool AllowInBigBoxWhenLocked => false; | ||
|
||
public void OnSelected() | ||
{ | ||
using(var frmPegasusExport = new frmPegasusExport()) | ||
{ | ||
frmPegasusExport.ShowDialog(); | ||
} | ||
} | ||
|
||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.