Unload forms in .Net Compact Framework

  • Thread starter Thread starter Red
  • Start date Start date
R

Red

Hi

I want to know can we Unload forms in .Net Compact Framework.I am
working with eVB at present, where I cann't Unload forms in eVB.

Thanks
NS
 
Thanks Chris.

Which one works with .Net Compact Framework... form.Unload() or
me.unload(). If not let me know hw to unlaod the form in .Net Compact
Framework.

Thanks
NS
 
Neither. Simply call Close() in the Form's instance and Dispose it.

-Chris


If you have a form instance
Red said:
Thanks Chris.

Which one works with .Net Compact Framework... form.Unload() or
me.unload(). If not let me know hw to unlaod the form in .Net Compact
Framework.

Thanks
NS


"Chris Tacke, eMVP" <ctacke[at]Open_NET_CF[dot]org> wrote in message
Yes.

-Chris
 
You can call

Me.Dispose()
to unload the form (where this code appears within the code for the form in
question)

or

formName.Dispose()
where you are addressing another form in your project. formName should be
replaced with the name of your form instance.

Peter

--
Peter Foot
Windows Embedded MVP
OpenNETCF.org Senior Advisor
www.inthehand.com | www.opennetcf.org

Red said:
Thanks Chris.

Which one works with .Net Compact Framework... form.Unload() or
me.unload(). If not let me know hw to unlaod the form in .Net Compact
Framework.

Thanks
NS


"Chris Tacke, eMVP" <ctacke[at]Open_NET_CF[dot]org> wrote in message
Yes.

-Chris
 
Back
Top