/// <summary> /// 保存路径 /// </summary> /// <param name="strType">保存的路径类型</param> private void SavePath(string strType) { FolderBrowserDialog folderDialog = new FolderBrowserDialog(); if (folderDialog.ShowDialog() == DialogResult.OK) { var strImagePath = folderDialog.SelectedPath; m_oKernel.SetExcelImageDirToIni(strType, strImagePath); } }