C# Class NClass.GUI.Workspace

Mostrar archivo Open project: gbaychev/NClass Class Usage Examples

Public Methods

Method Description
AddEmptyProject ( ) : Project
AddProject ( Project project ) : void
Load ( ) : void
OpenProject ( ) : Project
OpenProject ( string fileName ) : Project
RemoveActiveProject ( ) : void
RemoveAll ( ) : bool
RemoveProject ( Project project ) : bool
Save ( ) : void
SaveActiveProject ( ) : bool
SaveActiveProjectAs ( ) : bool
SaveAllProjects ( ) : bool
SaveAllUnsavedProjects ( ) : bool
SaveAndClose ( ) : bool
SaveProject ( Project project ) : bool
SaveProjectAs ( Project project ) : bool

Protected Methods

Method Description
OnActiveProjectChanged ( EventArgs e ) : void
OnActiveProjectStateChanged ( EventArgs e ) : void
OnProjectAdded ( ProjectEventArgs e ) : void
OnProjectRemoved ( ProjectEventArgs e ) : void

Private Methods

Method Description
RemoveActiveProject ( bool saveConfirmation ) : void
RemoveAll ( bool saveConfirmation ) : bool
RemoveProject ( Project project, bool saveConfirmation ) : bool
Workspace ( ) : System
project_StateChanged ( object sender, EventArgs e ) : void

Method Details

AddEmptyProject() public method

public AddEmptyProject ( ) : Project
return NClass.Core.Project

AddProject() public method

/// is null. ///
public AddProject ( Project project ) : void
project NClass.Core.Project
return void

Load() public method

public Load ( ) : void
return void

OnActiveProjectChanged() protected method

protected OnActiveProjectChanged ( EventArgs e ) : void
e System.EventArgs
return void

OnActiveProjectStateChanged() protected method

protected OnActiveProjectStateChanged ( EventArgs e ) : void
e System.EventArgs
return void

OnProjectAdded() protected method

protected OnProjectAdded ( ProjectEventArgs e ) : void
e ProjectEventArgs
return void

OnProjectRemoved() protected method

protected OnProjectRemoved ( ProjectEventArgs e ) : void
e ProjectEventArgs
return void

OpenProject() public method

public OpenProject ( ) : Project
return NClass.Core.Project

OpenProject() public method

public OpenProject ( string fileName ) : Project
fileName string
return NClass.Core.Project

RemoveActiveProject() public method

public RemoveActiveProject ( ) : void
return void

RemoveAll() public method

public RemoveAll ( ) : bool
return bool

RemoveProject() public method

public RemoveProject ( Project project ) : bool
project NClass.Core.Project
return bool

Save() public method

public Save ( ) : void
return void

SaveActiveProject() public method

public SaveActiveProject ( ) : bool
return bool

SaveActiveProjectAs() public method

public SaveActiveProjectAs ( ) : bool
return bool

SaveAllProjects() public method

public SaveAllProjects ( ) : bool
return bool

SaveAllUnsavedProjects() public method

public SaveAllUnsavedProjects ( ) : bool
return bool

SaveAndClose() public method

public SaveAndClose ( ) : bool
return bool

SaveProject() public method

/// is null. ///
public SaveProject ( Project project ) : bool
project NClass.Core.Project
return bool

SaveProjectAs() public method

/// is null. ///
public SaveProjectAs ( Project project ) : bool
project NClass.Core.Project
return bool