当前位置:网站首页>C # display the list control, select the file to obtain the file path and filter the file extension, and RichTextBox displays the data
C # display the list control, select the file to obtain the file path and filter the file extension, and RichTextBox displays the data
2022-07-06 07:27:00 【weixin_ forty million nine hundred and thirty-eight thousand th】
https://www.cnblogs.com/wllhq/p/4330766.htmllistview Show database data articles
https://www.cnblogs.com/qc-id-01/p/7489021.html Select file and filter file extensions
private void button2_Click(object sender, EventArgs e)
{
OpenFileDialog P_File_Folder = new OpenFileDialog();
P_File_Folder.Multiselect = true;// This value determines whether multiple files can be selected
P_File_Folder.Title = " Please select a folder ";
P_File_Folder.Filter = "QQ.db(QQ.db)|QQ.db";
if (P_File_Folder.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{
string file = P_File_Folder.FileName;
wenpath = file;
Console.Write(file);
}
https://www.cnblogs.com/arxive/p/5725570.htmlrichtextbox use
边栏推荐
猜你喜欢
剪映的相关介绍
软件测试界的三无简历,企业拿什么来招聘你,石沉大海的简历
Solution to the problem of breakthrough in OWASP juice shop shooting range
变量的命名规则十二条
leetcode704. Binary search (find an element, simple, different writing)
How MySQL merges data
Leecode-c language implementation -15 Sum of three ----- ideas to be improved
Related operations of Excel
Ble of Jerry [chapter]
word中如何删除某符号前面或后面所有的文字
随机推荐
First knowledge of OpenGL es learning (1)
word怎么只删除英语保留汉语或删除汉语保留英文
Leecode-c language implementation -15 Sum of three ----- ideas to be improved
TypeScript 可索引类型
Crawling exercise: Notice of crawling Henan Agricultural University
Yield method of tread
word中把带有某个符号的行全部选中,更改为标题
超级浏览器是指纹浏览器吗?怎样选择一款好的超级浏览器?
mysql如何合并数据
杰理之BLE【篇】
ORACLE列转行--某字段按指定分隔符转多行
word设置目录
Typescript variable scope
可变参数重载时的内存错误
Path analysis model
多线程和并发编程(二)
navicat如何导入MySQL脚本
#systemverilog# 可综合模型的结构总结
Related operations of Excel
Redis builds clusters