问题
Can anyone point me in the direction of how to create a full screen application in C# for Windows Mobile 6?
I'm trying to achieve a similar display to applications such as Tom Tom where all the OS elements such as the Start/Task bar are hidden and my application completely fills the screen.
I'm using VS 2008 with .Net 3.5
Thanks in advance!
OneSHOT
回答1:
I don't know if it's any different in WM6, but in WM2003 I was able to "hide" the taskbar etc by simply setting WindowState to Maximized on all the forms in my application.
回答2:
Like what Matt Hamilton said, but form personal experience sometimes on ( This was WM5 and .NET 2 ) you may need to set the this.WindowState = FormWindowState.Maximized;
again. For me it sometimes got overriden so the taskbar could show when either i multitasked on the device, or when i started to listen to a COM port.
来源:https://stackoverflow.com/questions/600735/fullscreen-application-wm6-c-sharp