C# Class NClass.DiagramEditor.DocumentManager

ファイルを表示 Open project: gbaychev/NClass Class Usage Examples

Public Methods

Method Description
AddOrActivate ( IDocument document ) : void
Close ( IDocument document ) : bool
CloseAll ( ) : void
CloseAllOthers ( IDocument exception ) : void
EndSwitching ( ) : void
MoveDocument ( IDocument document, int places ) : void
SwitchDocument ( ) : void

Protected Methods

Method Description
OnActiveDocumentChanged ( DocumentEventArgs e ) : void
OnDocumentAdded ( DocumentEventArgs e ) : void
OnDocumentMoved ( DocumentMovedEventArgs e ) : void
OnDocumentRemoved ( DocumentEventArgs e ) : void

Private Methods

Method Description
document_Closing ( object sender, EventArgs e ) : void

Method Details

AddOrActivate() public method

/// is null. ///
public AddOrActivate ( IDocument document ) : void
document IDocument
return void

Close() public method

public Close ( IDocument document ) : bool
document IDocument
return bool

CloseAll() public method

public CloseAll ( ) : void
return void

CloseAllOthers() public method

public CloseAllOthers ( IDocument exception ) : void
exception IDocument
return void

EndSwitching() public method

public EndSwitching ( ) : void
return void

MoveDocument() public method

public MoveDocument ( IDocument document, int places ) : void
document IDocument
places int
return void

OnActiveDocumentChanged() protected method

protected OnActiveDocumentChanged ( DocumentEventArgs e ) : void
e DocumentEventArgs
return void

OnDocumentAdded() protected method

protected OnDocumentAdded ( DocumentEventArgs e ) : void
e DocumentEventArgs
return void

OnDocumentMoved() protected method

protected OnDocumentMoved ( DocumentMovedEventArgs e ) : void
e DocumentMovedEventArgs
return void

OnDocumentRemoved() protected method

protected OnDocumentRemoved ( DocumentEventArgs e ) : void
e DocumentEventArgs
return void

SwitchDocument() public method

public SwitchDocument ( ) : void
return void