C# Class Dalssoft.DiagramNet.Designer

Inheritance: System.Windows.Forms.UserControl
Afficher le fichier Open project: AlexandrSurkov/PKStudio Class Usage Examples

Méthodes publiques

Méthode Description
Copy ( ) : void
Cut ( ) : void
Designer ( ) : System
Goc2Gsc ( Rectangle gsr ) : Rectangle
Gsc2Goc ( Point gsp ) : Point

Graphic surface coordinates to graphic object coordinates.

Gsc2Goc ( Rectangle gsr ) : Rectangle
Invalidate ( ) : void
Open ( string fileName ) : void
Paste ( ) : void
Redo ( ) : void
Save ( string fileName ) : void
Undo ( ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnElementClick ( ElementEventArgs e ) : void
OnElementConnected ( ElementConnectEventArgs e ) : void
OnElementConnecting ( ElementConnectEventArgs e ) : void
OnElementMouseDown ( ElementMouseEventArgs e ) : void
OnElementMouseUp ( ElementMouseEventArgs e ) : void
OnElementMoved ( ElementEventArgs e ) : void
OnElementMoving ( ElementEventArgs e ) : void
OnElementResized ( ElementEventArgs e ) : void
OnElementResizing ( ElementEventArgs e ) : void
OnElementSelection ( ElementSelectionEventArgs e ) : void
OnKeyDown ( KeyEventArgs e ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
OnMouseUp ( MouseEventArgs e ) : void
OnPaint ( System e ) : void
OnPaintBackground ( PaintEventArgs e ) : void
OnResize ( EventArgs e ) : void

Private Methods

Méthode Description
AddUndo ( ) : void
DeleteElement ( Point mousePoint ) : void
DeleteSelectedElements ( ) : void
DrawSelectionRectangle ( Graphics g ) : void
EndAddElement ( Rectangle selectionRectangle ) : void
EndAddLink ( ) : void
EndEditLabel ( ) : void
EndGeneralAction ( ) : void
EndSelectElements ( Rectangle selectionRectangle ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

Invalidate ( BaseElement el ) : void
Invalidate ( BaseElement el, bool force ) : void
IsChanging ( ) : bool
RecreateEventsHandlers ( ) : void
RestartInitValues ( ) : void
StartAddElement ( Point mousePoint ) : void
StartAddLink ( ConnectorElement connStart, Point mousePoint ) : void
StartEditLabel ( ) : void
StartResizeElement ( Point mousePoint ) : void
StartSelectElements ( BaseElement selectedElement, Point mousePoint ) : void
document_AppearancePropertyChanged ( object sender, EventArgs e ) : void
document_ElementPropertyChanged ( object sender, EventArgs e ) : void
document_ElementSelection ( object sender, ElementSelectionEventArgs e ) : void
document_PropertyChanged ( object sender, EventArgs e ) : void

Method Details

Copy() public méthode

public Copy ( ) : void
Résultat void

Cut() public méthode

public Cut ( ) : void
Résultat void

Designer() public méthode

public Designer ( ) : System
Résultat System

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Goc2Gsc() public méthode

public Goc2Gsc ( Rectangle gsr ) : Rectangle
gsr System.Drawing.Rectangle
Résultat System.Drawing.Rectangle

Gsc2Goc() public méthode

Graphic surface coordinates to graphic object coordinates.
public Gsc2Goc ( Point gsp ) : Point
gsp Point
Résultat Point

Gsc2Goc() public méthode

public Gsc2Goc ( Rectangle gsr ) : Rectangle
gsr System.Drawing.Rectangle
Résultat System.Drawing.Rectangle

Invalidate() public méthode

public Invalidate ( ) : void
Résultat void

OnElementClick() protected méthode

protected OnElementClick ( ElementEventArgs e ) : void
e ElementEventArgs
Résultat void

OnElementConnected() protected méthode

protected OnElementConnected ( ElementConnectEventArgs e ) : void
e ElementConnectEventArgs
Résultat void

OnElementConnecting() protected méthode

protected OnElementConnecting ( ElementConnectEventArgs e ) : void
e ElementConnectEventArgs
Résultat void

OnElementMouseDown() protected méthode

protected OnElementMouseDown ( ElementMouseEventArgs e ) : void
e ElementMouseEventArgs
Résultat void

OnElementMouseUp() protected méthode

protected OnElementMouseUp ( ElementMouseEventArgs e ) : void
e ElementMouseEventArgs
Résultat void

OnElementMoved() protected méthode

protected OnElementMoved ( ElementEventArgs e ) : void
e ElementEventArgs
Résultat void

OnElementMoving() protected méthode

protected OnElementMoving ( ElementEventArgs e ) : void
e ElementEventArgs
Résultat void

OnElementResized() protected méthode

protected OnElementResized ( ElementEventArgs e ) : void
e ElementEventArgs
Résultat void

OnElementResizing() protected méthode

protected OnElementResizing ( ElementEventArgs e ) : void
e ElementEventArgs
Résultat void

OnElementSelection() protected méthode

protected OnElementSelection ( ElementSelectionEventArgs e ) : void
e ElementSelectionEventArgs
Résultat void

OnKeyDown() protected méthode

protected OnKeyDown ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
Résultat void

OnMouseDown() protected méthode

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnMouseMove() protected méthode

protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnMouseUp() protected méthode

protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnPaint() protected méthode

protected OnPaint ( System e ) : void
e System
Résultat void

OnPaintBackground() protected méthode

protected OnPaintBackground ( PaintEventArgs e ) : void
e PaintEventArgs
Résultat void

OnResize() protected méthode

protected OnResize ( EventArgs e ) : void
e System.EventArgs
Résultat void

Open() public méthode

public Open ( string fileName ) : void
fileName string
Résultat void

Paste() public méthode

public Paste ( ) : void
Résultat void

Redo() public méthode

public Redo ( ) : void
Résultat void

Save() public méthode

public Save ( string fileName ) : void
fileName string
Résultat void

Undo() public méthode

public Undo ( ) : void
Résultat void