ComponentTray.SetLocation(IComponent, Point) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Définit l'emplacement du composant spécifié à l'emplacement spécifié.
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)
Paramètres
- receiver
- IComponent
IComponent dont l'emplacement doit être défini.