Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change Form location
Message
From
15/07/2010 15:10:57
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Change Form location
Miscellaneous
Thread ID:
01472613
Message ID:
01472613
Views:
116
Hi,
The questions is too simple but can't manager.

I have 2 forms

in form1 button.itemclick event I wrote the code

Dim loForm as myForm = new MyForm(me.Location.X+100, me.Location.Y+100)
loForm.showDialog()

in the form2

Public Sub new(Byval tnX as Integer, ByVal tnY as Integer)
Me.Location = New System.Drawing.Point(tnX, tnY)


As result..
Form2 still auto centered form. Why? :)

Thanks
Denis
Next
Reply
Map
View

Click here to load this message in the networking platform