finished issue #5 & #7

This commit is contained in:
Vitalii Ganzha 2016-01-05 23:13:14 -08:00
parent c4d7c3c21a
commit 7848f0d3b0
3 changed files with 4 additions and 2 deletions

View File

@ -14,7 +14,7 @@ namespace VitaliiGanzha.VsDingExtension
{ {
private SoundsSelectOptionsPage optionsPage; private SoundsSelectOptionsPage optionsPage;
internal SoundsSelectOptionsPage OptionsPage public SoundsSelectOptionsPage OptionsPage
{ {
get { return this.optionsPage; } get { return this.optionsPage; }
set set

View File

@ -63,6 +63,7 @@ namespace VitaliiGanzha.VsDingExtension
{ {
this.OnApplyHandler(); this.OnApplyHandler();
} }
base.OnApply(e);
} }
protected override void OnActivate(CancelEventArgs cancelEventArgs) protected override void OnActivate(CancelEventArgs cancelEventArgs)
@ -71,6 +72,7 @@ namespace VitaliiGanzha.VsDingExtension
{ {
this.OnActivateHandler(); this.OnActivateHandler();
} }
base.OnActivate(cancelEventArgs);
} }
[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]

View File

@ -19,7 +19,7 @@ namespace VitaliiGanzha.VsDingExtension
[Guid(GuidList.guidVsDingExtensionProjectPkgString)] [Guid(GuidList.guidVsDingExtensionProjectPkgString)]
[ProvideAutoLoad("{f1536ef8-92ec-443c-9ed7-fdadf150da82}")] [ProvideAutoLoad("{f1536ef8-92ec-443c-9ed7-fdadf150da82}")]
[ProvideOptionPage(typeof(OptionsDialog), "Ding", "General settings", 0, 0, true)] [ProvideOptionPage(typeof(OptionsDialog), "Ding", "General settings", 0, 0, true)]
[ProvideOptionPage(typeof(SoundsSelectOptionsPage), "Ding", "Overrride sounds", 100, 102, true, new string[] { "Change custom sounds" })] [ProvideOptionPage(typeof(SoundsSelectOptionsPage), "Ding", "Overrride sounds", 0, 0, true)]
public sealed class VsDingExtensionProjectPackage : Package, IDisposable public sealed class VsDingExtensionProjectPackage : Package, IDisposable
{ {
private DTE2 applicationObject; private DTE2 applicationObject;