设置子窗口的属性 [英] setting properties for the child windows

查看:85
本文介绍了设置子窗口的属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我没有获得表单的Location属性.如果我以编程方式创建表格获取位置属性.如果我创建对象表单,那么已经创建的表单就不会出现location属性.请帮助

I m not getting Location property for the form. If i create form programatically getting location property. If i create object form the form already created the location property not coming. Pls help

推荐答案

这可能是您的解决方案.

表格fm = new Form();
fm.Location.X = 20;
fm.Location.Y = 20;
This may b your solution.

Form fm = new Form();
fm.Location.X = 20;
fm.Location.Y = 20;


这篇关于设置子窗口的属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆