ComponentTray.SetLocation(IComponent, Point) メソッド

定義

指定したコンポーネントの位置を指定した位置に設定します。

public:
 void SetLocation(System::ComponentModel::IComponent ^ receiver, System::Drawing::Point location);
public void SetLocation(System.ComponentModel.IComponent receiver, System.Drawing.Point location);
member this.SetLocation : System.ComponentModel.IComponent * System.Drawing.Point -> unit
Public Sub SetLocation (receiver As IComponent, location As Point)

パラメーター

receiver
IComponent

場所を設定する IComponent

location
Point

指定したコンポーネントの新しい場所を示す Point

適用対象