Channel9Downloader.ViewModels.Framework.WpfOpenFileService.ShowDialog C# (CSharp) Méthode

ShowDialog() public méthode

This method should show a window that allows a file to be selected
public ShowDialog ( ) : bool?
Résultat bool?
        public bool? ShowDialog()
        {
            if (!string.IsNullOrEmpty(Filter))
            {
                _ofd.Filter = Filter;
            }

            if (!string.IsNullOrEmpty(InitialDirectory))
            {
                _ofd.InitialDirectory = InitialDirectory;
            }

            return _ofd.ShowDialog();
        }
WpfOpenFileService