Hi.

I'm new to C#, but pretty good in VB.

I have a C# app running fine on a WM5 device, and when I click the X in
the top right corner, I want to stop the app completely, rather than
hide it (as most apps do).

In VB, I could do application.exit, but not sure what syntax to use
with C# or where abouts it would go. I cant seem to find any exposed
methods or such for the X button.

Thanks for any Help for a C# beginner.

Robert

Re: WM5 C# App.. How to stop it running? by SHaul

SHaul
Wed Sep 27 07:56:09 CDT 2006

simple:
there is a Form property : MinimizeBox
change the value to false.


<robear@joshie.com.au> wrote in message
news:1159356596.164369.24290@i3g2000cwc.googlegroups.com...
> Hi.
>
> I'm new to C#, but pretty good in VB.
>
> I have a C# app running fine on a WM5 device, and when I click the X in
> the top right corner, I want to stop the app completely, rather than
> hide it (as most apps do).
>
> In VB, I could do application.exit, but not sure what syntax to use
> with C# or where abouts it would go. I cant seem to find any exposed
> methods or such for the X button.
>
> Thanks for any Help for a C# beginner.
>
> Robert
>