Click or drag to resize

ProjectServiceDummyImplOpenProject Method

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

Namespace: Altaxo.Main
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public void OpenProject(
	PathName pathName,
	bool showUserInteraction
)

Parameters

pathName  PathName
Can be a FileName, if the project is file-based, or a DirectoryName, if the project is based on a directory.
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