SVN r355
SVN-Revision: r355
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user