共用方式為


Connector.OnPaintEdited 方法

定義

當從某一狀態拖曳至其他狀態時,可用於繪製接點。

protected public:
 virtual void OnPaintEdited(System::Workflow::ComponentModel::Design::ActivityDesignerPaintEventArgs ^ e, cli::array <System::Drawing::Point> ^ segments, cli::array <System::Drawing::Point> ^ segmentEditPoints);
protected internal virtual void OnPaintEdited (System.Workflow.ComponentModel.Design.ActivityDesignerPaintEventArgs e, System.Drawing.Point[] segments, System.Drawing.Point[] segmentEditPoints);
abstract member OnPaintEdited : System.Workflow.ComponentModel.Design.ActivityDesignerPaintEventArgs * System.Drawing.Point[] * System.Drawing.Point[] -> unit
override this.OnPaintEdited : System.Workflow.ComponentModel.Design.ActivityDesignerPaintEventArgs * System.Drawing.Point[] * System.Drawing.Point[] -> unit
Protected Friend Overridable Sub OnPaintEdited (e As ActivityDesignerPaintEventArgs, segments As Point(), segmentEditPoints As Point())

參數

e
ActivityDesignerPaintEventArgs

ActivityDesignerPaintEventArgs 物件,指定用來繪製物件的圖形以及要在其中繪製物件的裁剪方框。

segments
Point[]

Connector 中區段的座標。

segmentEditPoints
Point[]

Connector 上編輯點的座標。

備註

當使用者建立接點、移動中心點或將端點從某一活動移動至其他活動時,會呼叫這個方法。

適用於