SVN-Revision: r355
This commit is contained in:
tdx
2025-03-19 08:25:17 +00:00
parent 69d59bb311
commit c9dd16d81f
2 changed files with 39 additions and 27 deletions
+35 -1
View File
@@ -260,6 +260,7 @@ namespace Lskj.PubSpecialImport
else
{
this.DialogResult = DialogResult.Cancel;
}
}
catch (Exception ex)
@@ -274,7 +275,13 @@ namespace Lskj.PubSpecialImport
{
if (showType)
{
FormDialogModel dialogModel = new FormDialogModel()
{
PubDialogType = this.DialogResult == DialogResult.Cancel ? DialogType.Pubcolsed : DialogType.PubAddRecord
};
this.Tag = dialogModel;
Close();
}
}
}
@@ -1591,4 +1598,31 @@ namespace Lskj.PubSpecialImport
{
case CellType.String:
cellValue = cell.StringCellValue;
break;
case CellType.Numeric:
cellValue = cell.NumericCellValue.ToString();
break;
case CellType.Boolean:
cellValue = cell.BooleanCellValue.ToString();
break;
case CellType.Blank:
break;
default:
cellValue.ToString();
break;
}
break;
default:
cellValue = cell.ToString();
break;
}
}
}
catch (Exception)
{
}
return cellValue;
}
#endregion
}
}