Re: disable partial class generation by designer
- From: "gerry" <germ2@xxxxxxxxxxxxxxxx>
- Date: Tue, 19 May 2009 09:06:04 -0400
"Jack Jackson" <jjackson-nsp@xxxxxxxxxxxxxxxx> wrote in message
news:jmf315djrmr6h0kdadq24rj967ip59hci1@xxxxxxxxxx
On Mon, 18 May 2009 20:46:16 +0200, "Yves Dhondt"
<yves.dhondt@xxxxxxxxx> wrote:
"Jack Jackson" <jjackson-nsp@xxxxxxxxxxxxxxxx> wrote in message
news:jv331590dorio3qgkc2qiu5v4ttnv1728j@xxxxxxxxxx
On Mon, 18 May 2009 17:51:52 +0200, "Yves Dhondt"
<yves.dhondt@xxxxxxxxx> wrote:
Hello,
...
Well for starters, when you remove just the stub, the project will no
longer
compile as the designer still contains the code pointing to the stub. So
this makes me have to delve into the designer code to actually make my
code
compile again.
You still haven't said what code is left behind that you have to
remove. I don't remember ever having to remove anything from the
.designer file when I remove a method.
I assume he is referring to the event subscription code which can be cleaned
up by removing the event handler in the designer property page.
At the end of my forms lifetime, I have resources to dispose of. Again, I
have to dig into the designer as there the function is already used and my
code needs to be added.
That is true. I move the entire Dispose method into the main file.
Why don't you just use the FormClosing or FormClosed events ?
.
- Follow-Ups:
- Re: disable partial class generation by designer
- From: Yves Dhondt
- Re: disable partial class generation by designer
- From: Jack Jackson
- Re: disable partial class generation by designer
- References:
- disable partial class generation by designer
- From: Yves Dhondt
- Re: disable partial class generation by designer
- From: Jack Jackson
- Re: disable partial class generation by designer
- From: Yves Dhondt
- Re: disable partial class generation by designer
- From: Jack Jackson
- disable partial class generation by designer
- Prev by Date: Re: Startup default language in VS 8 Pro
- Next by Date: Re: disable partial class generation by designer
- Previous by thread: Re: disable partial class generation by designer
- Next by thread: Re: disable partial class generation by designer
- Index(es):
Relevant Pages
|