Re: How to get a reference to main form in a Windows Form 2.0 Application?
- From: <jldearmas@xxxxxxxxx>
- Date: Fri, 25 Aug 2006 17:24:20 -0400
Jon
I had been expecting something like Delphi has in VCL but this is valid too.
Thanks
JL
--
Lic. Jorge Luis De Armas García
Chief Software Architect
DATYS Tecnología y Sistemas
email: jldearmas@xxxxxxxxxxx
jldearmas@xxxxxxxxx
jldearmas@xxxxxxxxx
jldearmas@xxxxxxxxxxx
"Jon Shemitz" <jon@xxxxxxxxxxxxxxxxx> escribió en el mensaje
news:44EF5E70.CD975410@xxxxxxxxxxxxxxxxxxxx
Jon Shemitz wrote:
I just spent a few minutes trying to answer this - and it may not be
possible.
I spoke too soon - forgot to Google!
Form MainForm =
(Form)Control.FromHandle(Process.GetCurrentProcess().MainWindowHandle);
--
.NET 2.0 for Delphi Programmers www.midnightbeach.com/.net
Delphi skills make .NET easy to learn In print, in stores.
.
- Follow-Ups:
- References:
- Prev by Date: Unable to reinstall, repair, nor uninstall VS2003
- Next by Date: Re: How to get a reference to main form in a Windows Form 2.0 Application?
- Previous by thread: Re: How to get a reference to main form in a Windows Form 2.0 Application?
- Next by thread: Re: How to get a reference to main form in a Windows Form 2.0 Application?
- Index(es):