Redigera

Dela via


ComponentTray.SetLocation(IComponent, Point) Method

Definition

Sets the location of the specified component to the specified location.

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)

Parameters

receiver
IComponent

The IComponent to set the location of.

location
Point

A Point indicating the new location for the specified component.

Applies to