public VistaFileDialogEvents(VistaFileDialog dialog)
        {
            if( dialog == null )
                throw new ArgumentNullException("dialog");

            _dialog = dialog;
        }
示例#2
0
        public VistaFileDialogEvents(VistaFileDialog dialog)
        {
            if (dialog == null)
            {
                throw new ArgumentNullException("dialog");
            }

            _dialog = dialog;
        }
 public VistaFileDialogEvents(VistaFileDialog dialog)
 {
     _dialog = dialog ?? throw new ArgumentNullException(nameof(dialog));
 }