Exemple #1
0
		/// ------------------------------------------------------------------------------------
		/// <summary>
		///
		/// </summary>
		/// <param name="command"></param>
		/// <returns></returns>
		/// ------------------------------------------------------------------------------------
		public bool OnUtilities(object command)
		{
			CheckDisposed();

			using (UtilityDlg dlg = new UtilityDlg(m_app))
			{
				dlg.SetDlgInfo(m_mediator, (command as XCore.Command).Parameters[0]);
				dlg.ShowDialog(this);
			}

			return true;
		}
Exemple #2
0
		/// ------------------------------------------------------------------------------------
		/// <summary>
		///
		/// </summary>
		/// <param name="command"></param>
		/// <returns></returns>
		/// ------------------------------------------------------------------------------------
		public bool OnUtilities(object command)
		{
			CheckDisposed();

			using (SIL.FieldWorks.Common.Controls.UtilityDlg dlg = new UtilityDlg(FwApp.App))
			{
				dlg.SetDlgInfo(m_mediator, (command as XCore.Command).Parameters[0]);
				dlg.ShowDialog(this);
			}

			return true;
		}