Mono winforms app fullscreen in Ubuntu?

前端 未结 10 2347

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

    Not sure what you mean by "Full Screen" - but I've written several Windows.Forms applications that take over the screen, and without a single PInvoke.

    Here's how I configure my main form ...

    Text = string.Empty; // No caption
    MaximizeBox = false;
    MinimizeBox = false;
    ControlBox = false;
    FormBorderStyle = None;
    WindowState = Maximized;
    

    Optionally,

    TopMost = true;
    

    Hope this helps.

提交回复
热议问题