How do you prevent a windows from being moved?

前端 未结 15 2030
刺人心
刺人心 2020-11-27 15:30

How would i go about stopping a form from being moved. I have the form border style set as FixedSingle and would like to keep it this way because it looks good in vista :)

15条回答
  •  谎友^
    谎友^ (楼主)
    2020-11-27 16:09

    You can subscribe to the Form.Move event and reposition from it.

提交回复
热议问题