public VuGenZipExportDialog(IVuGenScript script, ZipExportDialogSettings settings) : base(settings) { _script = script; _customControl = new ZipScriptCustomControl(); _customControlViewModel = new ZipScriptCustomControlViewModel(_script); _customControl.DataContext = _customControlViewModel; _customControlViewModel.ExportAllFiles = true; SetUserControl(_customControl); }