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

btnStyles_Click() private method

private btnStyles_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
		private void btnStyles_Click(object sender, EventArgs e)
		{
			Mediator med = null;
			LexImportWizard wiz = LexImportWizard.Wizard();
			if (wiz != null)
				med = wiz.Mediator;
			if (med == null)
			{
				// See LT-9100 and LT-9266.  Apparently this condition can happen.
				MessageBox.Show(LexTextControls.ksCannotSoTryAgain, LexTextControls.ksInternalProblem,
					MessageBoxButtons.OK, MessageBoxIcon.Information);
				return;
			}
			FwStylesDlg.RunStylesDialogForCombo(cbStyle, InitializeStylesComboBox, "", m_stylesheet as FwStyleSheet,
				0, 0, m_cache, this, ((IApp)med.PropertyTable.GetValue("App")), m_helpTopicProvider);
		}