Re: Working with 2 forms...
From: Jan Roelof de Pijper (jr_de_pijper_at_hotmail.com)
Date: 03/28/04
- Next message: Dave: "vs7"
- Previous message: Dave: "Compilation"
- In reply to: Nicholas Paldino [.NET/C# MVP]: "Re: Working with 2 forms..."
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 28 Mar 2004 23:29:55 +0200
On Sat, 27 Mar 2004 13:08:04 -0500, "Nicholas Paldino [.NET/C# MVP]"
<mvp@spam.guard.caspershouse.com> wrote:
>Jan,
>
> The reason for this is that you are declaring the variable to be of type
>Form, not frmScreen. Change the line to:
>
>frmScreen frmMyScreen = new frmScreen( );
>
> And it should be ok.
Thanks! I really and truly blundered here. I have been programming
C++/MFC too long to pull something stupid like this :(
Jan Roelof
- Next message: Dave: "vs7"
- Previous message: Dave: "Compilation"
- In reply to: Nicholas Paldino [.NET/C# MVP]: "Re: Working with 2 forms..."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|