SIL.FieldWorks.XWorks.DTMenuHandler.OnLaunchGuiControl C# (CSharp) Method

OnLaunchGuiControl() public method

Launch a control dynamically from the control pointed to by the 'guicontrol' id in the command object.
public OnLaunchGuiControl ( object commandObject ) : bool
commandObject object
return bool
		public virtual bool OnLaunchGuiControl(object commandObject)
		{
			Command command = (Command)commandObject;
			using (CmObjectUi fdoUi = CmObjectUi.MakeUi(m_dataEntryForm.CurrentSlice.Object))
			{
				fdoUi.Mediator = m_mediator;
				fdoUi.LaunchGuiControl(command);
			}
			return true;
		}