摘要:
private void button1_Click(object sender, EventArgs e) { string strRecordFilePath = "d:/dasda"; string str=strRecordFilePath.Substring(0, 1).ToUpper();//取首字母并转为大写 this.m_ChkDisk(str); } //strDisk应为大写,如 "D" private void m_ChkDisk(string strDisk) { if (strDisk == "") retu 阅读全文