Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form.Owner Question
Message
De
27/02/2009 04:49:02
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01384343
Message ID:
01384474
Vues:
35
Oh I got it wrong. Then you can use some kind of collection, ie: List< Form > and add/remove to it. AFAIK there is not a FormsManager class, it is your own class and I don't have a bit idea what and how it does.
Cetin

>Yes, but what is 'this' reffering to. The code is being run inside my FormsManager class, not from withing another form, so 'this' in that context is not a form.
>
>
>
>
>>>In inside my form desktop I do:
>>>
>>>
>>>frmAccount oForm = new frmAccount();
>>>oForm.Owner = this;
>>>oForm.ShowDialog();
>>>
>>>
>>>However, when I want to do the same from within my Forms Manager class, what does Owner get set to? How to I set it to a reference to the desktop form?
>>
>>oForm.MdiParent = this;
>>
>>Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform