SIL.FieldWorks.LexText.Controls.LexImportWizardCharMarkerDlg.LexImportWizardCharMarkerDlg_Load C# (CSharp) Method

LexImportWizardCharMarkerDlg_Load() private method

private LexImportWizardCharMarkerDlg_Load ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
		private void LexImportWizardCharMarkerDlg_Load(object sender, EventArgs e)
		{
			tbBeginMarker.Text = m_inlineMarker.Begin;
			if (m_inlineMarker.End.Count > 0)
				tbEndMarker.Text = m_inlineMarker.EndListToString();
			radioEndWithField.Checked = m_inlineMarker.EndWithField;
			radioEndWithWord.Checked = m_inlineMarker.EndWithWord;
			if (m_inlineMarker.End.Count == 0 &&
				!m_inlineMarker.EndWithField &&
				!m_inlineMarker.EndWithWord)
			{
				// Susanna wants this as the default, and .NET 2005 insists on checking
				// the other one without being asked.
				radioEndWithField.Checked = true;
			}
			cbLangDesc.Text = m_inlineMarker.Language;
			cbStyle.Text = m_inlineMarker.Style;
			if (cbStyle.Text.Trim().Length == 0)
				cbStyle.Text = NoChange;	// needed for Style, but not for LangDesc.
		}