Click or drag to resize

ProjectServiceBaseOpenProject Method

Opens a project. If the current project is dirty, and showUserInteraction is true, the user is ask to save the current project before.

Namespace: Altaxo.Dom
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public void OpenProject(
	PathName fileOrFolderName,
	bool showUserInteraction
)

Parameters

fileOrFolderName  PathName
The file name of the project to open.
showUserInteraction  Boolean
If true, the user will see dialog if the current project is dirty and needs to be saved. In addition, the user will see an error dialog if the opening of the new document fails due to exceptions. If this parameter is false, then the old document is forced to close (without saving). If there is a exception during opening, this exception is thrown.

Implements

IProjectServiceOpenProject(PathName, Boolean)
See Also