Mono winforms app fullscreen in Ubuntu?

前端 未结 10 2317

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:46

    Have you tried this?

      this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;             
        this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
    

    Unfortunately I have no Ubuntu available right now, but I can see old patches for this in old mono versions...

提交回复
热议问题