I have a Visual Studio 2005 C# application for the Compact Framework 2.0 and am having trouble making a floating window (form) for a user make selections from.
Here is some “test” code that sets many properties. When I run the program, no matter what I set, the floating form always shows full screen on the handheld device.
I know this can be done because I’ve seen many CE application have floating windows for selecting stuff (pick lists, etc).
Any help would be appreciated.
private void button1_Click(object sender, EventArgs e)
this.frmSecond = new Form2();
this.frmSecond.FormBorderStyle = FormBorderStyle.None ;
this.frmSecond.TopMost = true;
this.frmSecond.WindowState = FormWindowState.Normal ;
this.frmSecond.Height = 123;
this.frmSecond.Width = 123;
this.frmSecond.Dock = DockStyle.None;
this.frmSecond.Anchor = AnchorStyles.None;