动态新建窗体

Form box = new Form();
box.FormBorderStyle
= 0;
box.TopMost
= true;
box.BackgroundImage
= photo;
box.Location
= new Point(?, ?);
box.StartPosition
= FormStartPosition.Manual; // 重要!
box.Size = new Size(?, ?);
box.Show();
posted @ 2011-04-23 12:09  清风行云  阅读(188)  评论(0编辑  收藏  举报