btnOK_Click
(
object sender,
System.EventArgs e
)
{
if ( !DoDataExchange(true) )
{
return;
}
try
{
ImportFromEdgeWorkbook();
}
catch (ImportWorkbookException oImportWorkbookException)
{
this.ShowWarning(oImportWorkbookException.Message);
return;
}
catch (Exception oException)
{
ErrorUtil.OnException(oException);
return;
}
DialogResult = DialogResult.OK;
this.Close();
}