[Mono-winforms-list] Maximized don't works completely
Stefano Del Furia
delfo at edudotnet.it
Sat Feb 13 16:05:31 EST 2010
HI,
thanks for the reply.
I have tested your code but in my Ubuntu 9.04 Gnome the form isn't maximixed
because the upper application bar and the lower taskbar are still visible.
Which settings are you used ??
Thanks again
Stefano
-----Original Message-----
From: Robert Jordan <robertj at gmx.net>
To: mono-winforms-list at ximian.com
Date: Sat, 13 Feb 2010 20:06:24 +0100
Subject: Re: [Mono-winforms-list] Maximized don't works completely
On 13.02.2010 09:43, Stefano Del Furia wrote:
> HI,
> thanks for the reply.
> In other words, is there a way of get a full screen forms in Linux using
> Winforms ????
The following code works for me on a GNOME desktop!!!!! ;)
Robert
---
using System;
using System.Windows.Forms;
class Program
{
static void Main ()
{
Form form = new Form ();
form.ControlBox = false;
form.FormBorderStyle = FormBorderStyle.None;
form.WindowState = FormWindowState.Maximized;
Button button = new Button ();
button.Text = "Close";
button.Click += delegate { form.Close (); };
form.Controls.Add (button);
Application.Run (form);
}
}
> Thanks
> Stefano
>
>
>
> -----Original Message-----
> From: "Charlie Poole"<charlie at nunit.com>
> To: "'Stefano Del Furia'"<delfo at edudotnet.it>,
> <mono-winforms-list at lists.ximian.com>
> Date: Fri, 12 Feb 2010 11:34:05 -0800
> Subject: RE: [Mono-winforms-list] Maximized don't works completely
>
>
> Hi Stefano,
>
> In Windows, Maximized is not the same as full screen. However, it can
> sometimes appear the
> same, if you have set the task bar to disappear when a form is maximized.
>
> In other words, I think you are seeing differences in both platform and
user
> setup.
>
> Charlie
>
>
>
>
> From: mono-winforms-list-bounces at lists.ximian.com
> [mailto:mono-winforms-list-bounces at lists.ximian.com] On Behalf Of Stefano
> Del Furia
> Sent: Friday, February 12, 2010 7:51 AM
> To: mono-winforms-list at lists.ximian.com
> Subject: [Mono-winforms-list] Maximized don't works completely
>
>
> Hi,i'm trying to create a Kiosk application, but when i try to set a
winform
> in this way
>
> this.FormBorderStyle = FormBorderStyle.None;
> this.WindowState = FormWindowState.Maximized;
> this.TopMost = true;
>
> It doesn't fit all screen.
> Infact the task bar and application bar at the top and bottom of the
desktop
> are still showed.
> In windows all works fine.
> Could you help me ??
> Thanks in advance
> Stefano
>
>
>
>
> _______________________________________________
> Mono-winforms-list maillist - Mono-winforms-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
_______________________________________________
Mono-winforms-list maillist - Mono-winforms-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20100213/b1cae459/attachment.html
More information about the Mono-winforms-list
mailing list