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;
}
}
}
> Is there a way to inhibit moving the form on screen?
> Thank you,
> Adrian.
> Adrian < - 15 Jul 2007 17:07 GMT
Thank you very much.
Adrian.
> Hi Adrian,
>
[quoted text clipped - 19 lines]
> > Thank you,
> > Adrian.