public Guid ShowPathBrowser(string headerText, bool enumerateFiles, bool showSystemResources, ResourcePath initialPath, ValidatePathDlgt validatePathDlgt) { ChoosenResourcePath = null; UpdateResourceProviderPathTree(); HeaderText = headerText; _dialogHandle = Guid.NewGuid(); _dialogAccepted = false; _enumerateFiles = enumerateFiles; _validatePathDlgt = validatePathDlgt; ShowSystemResources = showSystemResources; IScreenManager screenManager = ServiceRegistration.Get <IScreenManager>(); Guid? dialogInstanceId = screenManager.ShowDialog(Consts.DIALOG_PATH_BROWSER, OnDialogClosed); if (!dialogInstanceId.HasValue) { throw new InvalidDataException("File browser could not be shown"); } _dialogInstanceId = dialogInstanceId.Value; return(_dialogHandle); }
public Guid ShowPathBrowser(string headerText, bool enumerateFiles, bool showSystemResources, ResourcePath initialPath, ValidatePathDlgt validatePathDlgt) { ChoosenResourcePath = null; UpdateResourceProviderPathTree(); HeaderText = headerText; _dialogHandle = Guid.NewGuid(); _dialogAccepted = false; _enumerateFiles = enumerateFiles; _validatePathDlgt = validatePathDlgt; ShowSystemResources = showSystemResources; IScreenManager screenManager = ServiceRegistration.Get<IScreenManager>(); Guid? dialogInstanceId = screenManager.ShowDialog(Consts.DIALOG_PATH_BROWSER, OnDialogClosed); if (!dialogInstanceId.HasValue) throw new InvalidDataException("File browser could not be shown"); _dialogInstanceId = dialogInstanceId.Value; return _dialogHandle; }
public Guid ShowPathBrowser(string headerText, bool enumerateFiles, bool showSystemResources, ValidatePathDlgt validatePathDlgt) { return(ShowPathBrowser(headerText, enumerateFiles, showSystemResources, null, validatePathDlgt)); }
public Guid ShowPathBrowser(string headerText, bool enumerateFiles, bool showSystemResources, ValidatePathDlgt validatePathDlgt) { return ShowPathBrowser(headerText, enumerateFiles, showSystemResources, null, validatePathDlgt); }