.net 打开文件
程序员文章站
2022-05-05 13:14:46
...
OpenFileDialog^ dlgOpenFile = gcnew OpenFileDialog (); String^ fileName; dlgOpenFile->InitialDirectory = "D:\\"; dlgOpenFile->Filter = "txt files (*.txt)|*.txt|All files (*.*)|*.*"; dlgOpenFile->FilterIndex = 1; dlgOpenFile->RestoreDirectory = true ; dlgOpenFile->ShowDialog(); fileName = dlgOpenFile->FileName; TB_Path->Text = fileName;
上一篇: php include类文件超时
下一篇: Python背景色与语法高亮主题配置