SIL.FieldWorks.LexText.Controls.MSAPopupTreeManager.ChooseFromMasterCategoryList C# (CSharp) Method

ChooseFromMasterCategoryList() private method

private ChooseFromMasterCategoryList ( ) : void
return void
		private void ChooseFromMasterCategoryList()
		{
			PopupTree pt = GetPopupTree();
			// Force the PopupTree to Hide() to trigger popupTree_PopupTreeClosed().
			// This will effectively revert the list selection to a previous confirmed state.
			// Whatever happens below, we don't want to actually leave the "More..." node selected!
			// This is at least required if the user selects "Cancel" from the dialog below.
			if (m_sense.MorphoSyntaxAnalysisRA != null)
				pt.SelectObjWithoutTriggeringBeforeAfterSelects(m_sense.MorphoSyntaxAnalysisRA.Hvo);
			// FWR-3542 -- Need this in .Net too, or it eats the first mouse click intended
			// for the dialog we're about to show below.
			pt.HideForm();

			new MasterCategoryListChooserLauncher(ParentForm, m_mediator, List, FieldName, m_sense);
		}