سؤال

I'm using an OpenFileDialog and I would like to only show files with NO extension,

I've tried this but doesn't seem to work:

    OpenFileDialog ofd = new OpenFileDialog();
    ofd.Filter = "DICOMDIR Files|" + null;
    ofd.FileName = string.Empty;
    ofd.Multiselect = false;

any ideas?

هل كانت مفيدة؟

المحلول

Write your own custom dialog. No other way to do it.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top