I have a borderless form that I would like to change the location of programmatically. I have tried a couple of different things and nothing seems to work. What is odd is if I go into the properties for the form, manually change the location to 100,100, set the StartPosition to manual, it still starts at 0,0. Another note is that the form only has one control and it’s a Flash player control. I’m not sure if that has anything to do with it. Any thoghts on why it wouldn’t move the window?
I have a borderless form that I would like to change the location of
Share
Change the location through the
Loadevent of the Form.EDIT1: posting a full example, in response to the author’s comment. This works correctly for me.
Form1.cs
Form1.Designer.cs