Mono winforms app fullscreen in Ubuntu?

前端 未结 10 2333

Just wondering if there\'s a known way of getting a Mono System.Windows.Forms application to go fullscreen on Ubuntu/Gnome.

Mono is 2.4.2.3 Ubuntu is 9.10

Doing

10条回答
  •  广开言路
    2021-02-08 11:56

    I can't test it at the moment, but have you tried a simple resize?

    form.FormBorderStyle = FormBorderStyle.None
    form.Location = Point(0, 0)
    form.Size = Screen.PrimaryScreen.Bounds.Size
    

提交回复
热议问题