[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] [bugs #10854] Form.DesktopLocation not consistent
From: |
Erich Kitzmüller |
Subject: |
[Pnet-developers] [bugs #10854] Form.DesktopLocation not consistent |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7) Gecko/20040626 Firefox/0.9.1 |
This mail is an automated notification from the bugs tracker
of the project: DotGNU Portable.NET.
/**************************************************************************/
[bugs #10854] Latest Modifications:
Changes by:
Erich Kitzmüller <address@hidden>
'Date:
Die 02.11.2004 at 20:42 (GMT)
------------------ Additional Follow-up Comments ----------------------------
using System.Windows.Forms;
using System;
using System.Drawing;
public class FormTest : System.Windows.Forms.Form {
public FormTest() {
Button b = new Button();
b.Left = 20;
b.Top = 20;
b.Text = "Click me";
b.Click += new System.EventHandler(ButtonClicked);
Controls.Add(b);
Closed += new System.EventHandler(FormClosed);
}
public void ButtonClicked(object sender, EventArgs e) {
FormTest f = new FormTest();
f.Visible = true;
f.DesktopLocation = DesktopLocation; //should open new form at
same position
Visible = false;
}
public void FormClosed(object sender, EventArgs e) {
Application.Exit();
}
static void Main() {
Application.Run(new FormTest());
}
}
/**************************************************************************/
[bugs #10854] Full Item Snapshot:
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=10854>
Project: DotGNU Portable.NET
Submitted by: Erich Kitzmüller
On: Mon 01.11.2004 at 01:44
Category: None
Severity: 5 - Average
Item Group: None
Resolution: None
Privacy: Public
Assigned to: None
Status: Open
Summary: Form.DesktopLocation not consistent
Original Submission: "set" sets the corner of the outer border (including the
border given by the window manager), but "get" returns the corner of the inner
window (without the border drawn by the window manager).
Follow-up Comments
------------------
-------------------------------------------------------
Date: Die 02.11.2004 at 20:42 By: Erich Kitzmüller <ammoq>
using System.Windows.Forms;
using System;
using System.Drawing;
public class FormTest : System.Windows.Forms.Form {
public FormTest() {
Button b = new Button();
b.Left = 20;
b.Top = 20;
b.Text = "Click me";
b.Click += new System.EventHandler(ButtonClicked);
Controls.Add(b);
Closed += new System.EventHandler(FormClosed);
}
public void ButtonClicked(object sender, EventArgs e) {
FormTest f = new FormTest();
f.Visible = true;
f.DesktopLocation = DesktopLocation; //should open new form at
same position
Visible = false;
}
public void FormClosed(object sender, EventArgs e) {
Application.Exit();
}
static void Main() {
Application.Run(new FormTest());
}
}
-------------------------------------------------------
Date: Die 02.11.2004 at 11:58 By: Deryk Robosson <drobosson>
Do you have a test case that exhibits this behavior?
File Attachments
-------------------
-------------------------------------------------------
Date: Die 02.11.2004 at 20:42 Name: FormTest.cs Size: 695B By: ammoq
http://savannah.gnu.org/bugs/download.php?item_id=10854&item_file_id=1829
For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=10854>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/