Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   C# MainForm.Self in C# (https://www.delphipraxis.net/81824-mainform-self-c.html)

skyware 4. Dez 2006 15:17


MainForm.Self in C#
 
Hallo zusammen,

in Delphi gibts ja auf der MainForm die Möglichkeit "self" aufzurufen um damit z.B. dynamisch ein Panel zu erzeugen und den Parent zu setzen.
Was wäre jetzt das selbe in C# ? :gruebel:
Dort möchte ich auch ein Panel erzeugen und dann als Parent "self" setzen...

BenjaminH 4. Dez 2006 15:18

Re: MainForm.Self in C#
 
Da heißt das dann:
this

skyware 4. Dez 2006 15:21

Re: MainForm.Self in C#
 
och mensch... so einfach wars...


dankeschön :thumb:


Alle Zeitangaben in WEZ +1. Es ist jetzt 19:42 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz