-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented IGitHubPlugin, IPayPalPlugin, IHelpPlugin
- Loading branch information
Jonas Rapp
committed
Oct 5, 2017
1 parent
847720c
commit 5569351
Showing
3 changed files
with
22 additions
and
6 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -16,11 +16,21 @@ | |
|
||
namespace Rappen.XTB.AutoNumManager | ||
{ | ||
public partial class AutoNumMgr : PluginControlBase, IStatusBarMessenger, IMessageBusHost | ||
public partial class AutoNumMgr : PluginControlBase, IStatusBarMessenger, IMessageBusHost, IGitHubPlugin, IPayPalPlugin, IHelpPlugin | ||
{ | ||
private Settings settings; | ||
private List<EntityMetadataProxy> entities; | ||
|
||
public string RepositoryName { get { return "AutoNumManager"; } } | ||
|
||
public string UserName { get { return "Rappen"; } } | ||
|
||
public string DonationDescription { get { return "Auto Number Manager Fan Club"; } } | ||
|
||
public string EmailAccount { get { return "[email protected]"; } } | ||
|
||
public string HelpUrl { get { return "http://anm.xrmtoolbox.com"; } } | ||
|
||
public event EventHandler<StatusBarMessageEventArgs> SendMessageToStatusBar; | ||
public event EventHandler<MessageBusEventArgs> OnOutgoingMessage; | ||
|
||
|
@@ -77,11 +87,14 @@ private void AutoNumMgr_Load(object sender, EventArgs e) | |
settings.UseLog = LogUsage.PromptToLog(); | ||
} | ||
settings.Version = version; | ||
LogUse("Load"); | ||
} | ||
|
||
private void AutoNumMgr_OnCloseTool(object sender, EventArgs e) | ||
public override void ClosingPlugin(PluginCloseInfo info) | ||
{ | ||
SettingsManager.Instance.Save(GetType(), settings); | ||
LogUse("Close"); | ||
base.ClosingPlugin(info); | ||
} | ||
|
||
private void AutoNumMgr_ConnectionUpdated(object sender, ConnectionUpdatedEventArgs e) | ||
|
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