btnOK_Click
(
object sender,
System.EventArgs e
)
{
if ( DoDataExchange(true) )
{
if (m_oMotifUserSettings.MotifsToCalculate == Motifs.None)
{
this.ShowWarning("No motifs have been selected.");
return;
}
DialogResult = DialogResult.OK;
this.Close();
}
}