Re: Maximized don't works completely
"Stefano Del Furia" <[email protected]>
| Newsgroups | gmane.comp.gnome.winforms |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> To: [email protected] 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"<[email protected]> > To: "'Stefano Del Furia'"<[email protected]>, > <[email protected]> > 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: [email protected] > [mailto:[email protected]] On Behalf Of Stefano > Del Furia > Sent: Friday, February 12, 2010 7:51 AM > To: [email protected] > 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 - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-winforms-list _______________________________________________ Mono-winforms-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-winforms-list _______________________________________________ Mono-winforms-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-winforms-list