Esempio n. 1
0
 /// <summary>
 /// Initializes the plug in.
 /// </summary>
 public override void InitializePlugIn()
 {
     base.InitializePlugIn();
     this.OptionsChanged += FormatOnSavePlugin_OptionsChanged;
     this._docEvents      = new RunningDocumentTableEventProvider();
     this._docEvents.Initialize();
     this._docEvents.Saving += DocumentSaving;
     this.RefreshOptions();
 }
		/// <summary>
		/// Initializes the plug in.
		/// </summary>
		public override void InitializePlugIn()
		{
			base.InitializePlugIn();
			this.OptionsChanged += new OptionsChangedEventHandler(FormatOnSavePlugIn_OptionsChanged);
			this._docEvents = new RunningDocumentTableEventProvider();
			this._docEvents.Initialize();
			this._docEvents.Saving += new EventHandler<DocumentEventArgs>(DocumentSaving);
			this.RefreshOptions();
		}
Esempio n. 3
0
 /// <summary>
 /// Initializes the plug in.
 /// </summary>
 public override void InitializePlugIn()
 {
     base.InitializePlugIn();
     this.OptionsChanged += new OptionsChangedEventHandler(FormatOnSavePlugIn_OptionsChanged);
     this._docEvents      = new RunningDocumentTableEventProvider();
     this._docEvents.Initialize();
     this._docEvents.Saving += new EventHandler <DocumentEventArgs>(DocumentSaving);
     this.RefreshOptions();
 }
Esempio n. 4
0
 /// <summary>
 /// Finalizes the plug in.
 /// </summary>
 public override void FinalizePlugIn()
 {
     this._docEvents.Dispose();
     this._docEvents = null;
     base.FinalizePlugIn();
 }
		/// <summary>
		/// Initializes the plug in.
		/// </summary>
		public override void InitializePlugIn()
		{
			base.InitializePlugIn();
			this.OptionsChanged += FormatOnSavePlugin_OptionsChanged;
			this._docEvents = new RunningDocumentTableEventProvider();
			this._docEvents.Initialize();
			this._docEvents.Saving += DocumentSaving;
			this.RefreshOptions();
		}
		/// <summary>
		/// Finalizes the plug in.
		/// </summary>
		public override void FinalizePlugIn()
		{
			this._docEvents.Dispose();
			this._docEvents = null;
			base.FinalizePlugIn();
		}