SIL.FieldWorks.LexText.Controls.RecordGoDlg.SetDlgInfo C# (CSharp) Method

SetDlgInfo() public method

public SetDlgInfo ( SIL.FieldWorks.FDO.FdoCache cache, SIL.FieldWorks.LexText.Controls.WindowParams wp, XCore.Mediator mediator ) : void
cache SIL.FieldWorks.FDO.FdoCache
wp SIL.FieldWorks.LexText.Controls.WindowParams
mediator XCore.Mediator
return void
		public override void SetDlgInfo(FdoCache cache, WindowParams wp, Mediator mediator)
		{
			SetDlgInfo(cache, wp, mediator, cache.DefaultAnalWs);
		}

Same methods

RecordGoDlg::SetDlgInfo ( SIL.FieldWorks.FDO.FdoCache cache, SIL.FieldWorks.LexText.Controls.WindowParams wp, XCore.Mediator mediator, string form ) : void

Usage Example

		protected override void HandleChooser()
		{
			using (var dlg = new RecordGoDlg())
			{
				var wp = new WindowParams { m_title = LexEdStrings.ksIdentifyRecord, m_btnText = LexEdStrings.ks_Add };
				dlg.SetDlgInfo(m_cache, wp, m_mediator);
				dlg.SetHelpTopic(Slice.GetChooserHelpTopicID());
				if (dlg.ShowDialog(FindForm()) == DialogResult.OK)
					AddItem(dlg.SelectedObject);
			}
		}
All Usage Examples Of SIL.FieldWorks.LexText.Controls.RecordGoDlg::SetDlgInfo