动态新建窗体

  
    
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();

你可能感兴趣的:(动态)