Hi Adrian,
Presumably, something like this should work:
public class Form1 : Form {
Point location;
protected override void OnShown(EventArgs e) {
base.OnShown(e);
location = this.Location;
}
protected override void OnMove(EventArgs e) {
base.OnMove(e);
if(!this.Location.Equals(location)) {
this.Location = location;
}
}
}
On 15 jul, 09:47, "Adrian <" <x...@xx.xxwrote:
Is there a way to inhibit moving the form on screen?
Thank you,
Adrian.