Ilya
Wed Jul 19 13:46:00 CDT 2006
These events should not be used for that purpose. Please override Dispose()
to "kill" created objects add call it as soon as you don't need this form
anymore.
Generally you don't have to do that as it's done for all form's controls and
components automatically.
--
Best regards,
Ilya
This posting is provided "AS IS" with no warranties, and confers no rights.
*** Want to find answers instantly? Here's how... ***
1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
"marciocamurati" <marcio.camurati@gmail.com> wrote in message
news:1153316377.890049.153860@m73g2000cwd.googlegroups.com...
> Hi,
>
> Right, another doubt for the Garbage Collector has any diference use
> Closed or Closing for "kill" the created objects ?
>
> Thanx
>
> Ilya Tumanov [MS] wrote:
>> Closing fires before form is actually closed; Closed is fired after form
>> is
>> closed:
>>
>>
>>
>> Closing << Can prevent from been closed.
>>
>> <Form is actually closed here>
>>
>> Closed << << Can not prevent from been closed, it's already done.
>>
>>
>> --
>> Best regards,
>>
>> Ilya
>>
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>>
>> *** Want to find answers instantly? Here's how... ***
>>
>> 1. Go to
>>
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
>> 2. Type your question in the text box near "Search this group" button.
>> 3. Hit "Search this group" button.
>> 4. Read answer(s).
>>
>> "marciocamurati" <marcio.camurati@gmail.com> wrote in message
>> news:1153251349.934628.252730@m79g2000cwm.googlegroups.com...
>> > Hi,
>> >
>> > Anyone know explain how is the diference about use at my form close
>> > Handles MyBase.Closed or Handles MyBase.Closing, because I didn't see
>> > any diference about it !
>> >
>> > Thanx
>> >
>