Fullscreen app in wince 6.0 c#

后端 未结 2 1215
难免孤独
难免孤独 2021-02-15 16:01

I have my app and want to make it run in full-screen mode, no task-bar. I found out how to hide the windows bar but when I start my app it doesn\'t cover the space of the windo

2条回答
  •  臣服心动
    2021-02-15 16:58

    After hiding the task bar, explicitly set the size and position of your Form:

    myForm.Width = Screen.PrimaryScreen.Bounds.Width;
    myForm.Height = Screen.PrimaryScreen.Bounds.Height;
    myForm.Left = 0;
    myForm.Top = 0;
    

提交回复
热议问题