Skip to content

Commit

Permalink
Version 1.2017.10.3
Browse files Browse the repository at this point in the history
Implemented IGitHubPlugin, IPayPalPlugin, IHelpPlugin
  • Loading branch information
Jonas Rapp committed Oct 5, 2017
1 parent 847720c commit 5569351
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 6 deletions.
7 changes: 5 additions & 2 deletions AutoNumMgr.Designer.cs

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

17 changes: 15 additions & 2 deletions AutoNumMgr.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut
// en utilisant '*', comme indiqué ci-dessous :
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.2017.10.2")]
[assembly: AssemblyFileVersion("1.2017.10.2")]
[assembly: AssemblyVersion("1.2017.10.3")]
[assembly: AssemblyFileVersion("1.2017.10.3")]

0 comments on commit 5569351

Please sign in to comment.