コード例 #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 {}
 }
コード例 #2
0
		/// <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;
		}
コード例 #3
0
ファイル: QSetExplorer.cs プロジェクト: modulexcite/QSet
		/// <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 {}
		}