/// <summary>
/// 计算字符串长度
/// </summary>
/// <returns>字符串长度</returns>
private int GetMaxTextLength()
{
string strMax = "";
foreach (string strText in m_cmbExportType.Items)
{
if (strMax.Length < strText.Length)
strMax = strText;
}
int iTextLength = (int)listView.CreateGraphics().MeasureString(strMax, this.Font).Width;
return iTextLength;
}