Connector.OnPaintEdited 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當從某一狀態拖曳至其他狀態時,可用於繪製接點。
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())
參數
ActivityDesignerPaintEventArgs 物件,指定用來繪製物件的圖形以及要在其中繪製物件的裁剪方框。
備註
當使用者建立接點、移動中心點或將端點從某一活動移動至其他活動時,會呼叫這個方法。