OpenFileDialog _dialog = new OpenFileDialog();

_dialog.Filter = 
"All Image Files|*.bmp;*.ico;*.gif;*.jpeg;*.jpg;*.png;*.tif;*.tiff|"
"Windows Bitmap(*.bmp)|*.bmp|"
"Windows Icon(*.ico)|*.ico|"
"Graphics Interchange Format (*.gif)|(*.gif)|"
"JPEG File Interchange Format (*.jpg)|*.jpg;*.jpeg|"
"Portable Network Graphics (*.png)|*.png|"
"Tag Image File Format (*.tif)|*.tif;*.tiff";

if (DialogResult.OK == _dialog.ShowDialog(this))
{

}

相关文章:

  • 2022-01-01
  • 2021-12-07
  • 2022-01-18
  • 2022-12-23
  • 2022-12-23
  • 2021-06-16
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-26
  • 2021-05-28
  • 2021-05-11
相关资源
相似解决方案