C# Class Dalssoft.DiagramNet.Designer

Inheritance: System.Windows.Forms.UserControl
Datei anzeigen Open project: AlexandrSurkov/PKStudio Class Usage Examples

Public Methods

Method 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

Protected Methods

Method 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

Method 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 method

public Copy ( ) : void
return void

Cut() public method

public Cut ( ) : void
return void

Designer() public method

public Designer ( ) : System
return System

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
return void

Goc2Gsc() public method

public Goc2Gsc ( Rectangle gsr ) : Rectangle
gsr System.Drawing.Rectangle
return System.Drawing.Rectangle

Gsc2Goc() public method

Graphic surface coordinates to graphic object coordinates.
public Gsc2Goc ( Point gsp ) : Point
gsp Point
return Point

Gsc2Goc() public method

public Gsc2Goc ( Rectangle gsr ) : Rectangle
gsr System.Drawing.Rectangle
return System.Drawing.Rectangle

Invalidate() public method

public Invalidate ( ) : void
return void

OnElementClick() protected method

protected OnElementClick ( ElementEventArgs e ) : void
e ElementEventArgs
return void

OnElementConnected() protected method

protected OnElementConnected ( ElementConnectEventArgs e ) : void
e ElementConnectEventArgs
return void

OnElementConnecting() protected method

protected OnElementConnecting ( ElementConnectEventArgs e ) : void
e ElementConnectEventArgs
return void

OnElementMouseDown() protected method

protected OnElementMouseDown ( ElementMouseEventArgs e ) : void
e ElementMouseEventArgs
return void

OnElementMouseUp() protected method

protected OnElementMouseUp ( ElementMouseEventArgs e ) : void
e ElementMouseEventArgs
return void

OnElementMoved() protected method

protected OnElementMoved ( ElementEventArgs e ) : void
e ElementEventArgs
return void

OnElementMoving() protected method

protected OnElementMoving ( ElementEventArgs e ) : void
e ElementEventArgs
return void

OnElementResized() protected method

protected OnElementResized ( ElementEventArgs e ) : void
e ElementEventArgs
return void

OnElementResizing() protected method

protected OnElementResizing ( ElementEventArgs e ) : void
e ElementEventArgs
return void

OnElementSelection() protected method

protected OnElementSelection ( ElementSelectionEventArgs e ) : void
e ElementSelectionEventArgs
return void

OnKeyDown() protected method

protected OnKeyDown ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
return void

OnMouseDown() protected method

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseMove() protected method

protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseUp() protected method

protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnPaint() protected method

protected OnPaint ( System e ) : void
e System
return void

OnPaintBackground() protected method

protected OnPaintBackground ( PaintEventArgs e ) : void
e PaintEventArgs
return void

OnResize() protected method

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

Open() public method

public Open ( string fileName ) : void
fileName string
return void

Paste() public method

public Paste ( ) : void
return void

Redo() public method

public Redo ( ) : void
return void

Save() public method

public Save ( string fileName ) : void
fileName string
return void

Undo() public method

public Undo ( ) : void
return void