Form child =new Form();

point p = new point();

p.x = (pform.width-child.width)/2;

p.y = (pform.height-child.height)/2;

child.location = p;

child.toplevel =false;

child.bringtofornt();

child.startposition = formstartposition.manual;

child.show();

posted on 2016-02-24 10:35  张小帅  阅读(621)  评论(0编辑  收藏  举报