| 发表于:2007-02-11 23:15:11 楼主 |
using system; using system.collections.generic; using system.componentmodel; using system.data; using system.drawing; using system.text; using system.windows.forms; namespace windowsapplication1 { public partial class form1 : form { public form1() { initializecomponent(); } private void button1_click(object sender, eventargs e) { form2 f2 = new form2(); f2.location = this.location; f2.show(); } } } |
|
|
|
|