Microsoft.Win32.OpenFileDialog openFileDialog1 = new Microsoft.Win32.OpenFileDialog();
openFileDialog1.Filter = "(*.cup)|*.cup";
if (openFileDialog1.ShowDialog() == true)
{
MessageBox.Show(openFileDialog1.FileName);
}
Wpf OpenFileDialog,布布扣,bubuko.com
时间: 2024-10-08 19:54:08