Programmatically move a Form ?

  • Thread starter Thread starter Paic Citron
  • Start date Start date
P

Paic Citron

Hi,
I'd like to know if it's possible to programmatically move a Form ... I
tried the Location property, but it doesn't work, and I can't find
anything on the internet / documentation ...

Thx in advance for any help.


Damien
 
Paic Citron a écrit :
Hi,
I'd like to know if it's possible to programmatically move a Form ... I
tried the Location property, but it doesn't work, and I can't find
anything on the internet / documentation ...

Thx in advance for any help.


Damien

Ok, I was display my form with ShowDialog(). With the Show() method it
seems to work.
 
Morten Wennevik a écrit :
Hi Damien,

Try setting the Form.StartupPosition to manual.



Hi,
I'd like to know if it's possible to programmatically move a Form ...
I tried the Location property, but it doesn't work, and I can't find
anything on the internet / documentation ...

Thx in advance for any help.


Damien



--Happy Coding!
Morten Wennevik [C# MVP]

Hi, thx for the answer, but see my other reply ^^
I feel a bit stupid ^^

Damien
 
Back
Top