Exemplo n.º 1
0
 private ConvertFormat(string name, string fileExtension, bool supportsSingleFile, DocumentType allowedTypes, params string[] args)
 {
     _args              = args;
     _dialog            = null;
     Name               = name;
     FileExtension      = fileExtension;
     SupportsSingleFile = supportsSingleFile;
     AllowedTypes       = allowedTypes;
 }
Exemplo n.º 2
0
 private ConvertFormat(string name, string fileExtension, bool supportsSingleFile, ImageFormatDialog dialog)
 {
     _args   = null;
     _dialog = dialog;
     Program.PrepareForm(dialog);
     Name               = name;
     FileExtension      = fileExtension;
     SupportsSingleFile = supportsSingleFile;
     AllowedTypes       = DocumentType.Any & ~DocumentType.Image;
 }