Example #1
0
 /// <summary>
 /// Raises the QSetDeactivated event.
 /// </summary>
 /// <param name="e">Event arguments.</param>
 private void OnQSetDeactivatedEvent(QSetDeactivatedEventArgs e)
 {
     try
     {
         if (_qSetDeactivated != null)
         {
             _qSetDeactivated(this, e);
         }
     }
     catch {}
 }
		/// <summary>
		/// Raised when a Q Set is de-activated in the Q Set Explorer.
		/// </summary>
		/// <param name="sender"></param>
		/// <param name="e"></param>
		private void QSetExplorer_QSetDeactivated(object sender, QSetDeactivatedEventArgs e)
		{						
			e.Item.ItemRenamed -= new ItemRenamedEvent(QSet_ItemRenamed);
			e.Item.ItemDirtied -= new ItemDirtiedEvent(QSet_ItemDirtied);

			base.TaskManager.SetTitleBarText();
			base.TaskManager.MenuStateManger.SetQSetMenuState();
			base.PrimaryControls.QSetMonitor.QSet = null;
		}
Example #3
0
		/// <summary>
		/// Raises the QSetDeactivated event.
		/// </summary>
		/// <param name="e">Event arguments.</param>
		private void OnQSetDeactivatedEvent(QSetDeactivatedEventArgs e)
		{
			try
			{
				if (_qSetDeactivated != null)
					_qSetDeactivated(this, e);
			}
			catch {}
		}