
How to drag a form without the caption bar
Not sure if this is what you want, but to move the form you can try:
this.SetBounds(x,y,width,height);
it will move your from as well change the size if you want...... just a
suggestion.
Quote:
> My c# application has no Caption-bar (by design).
> How can i let the user move the form, without using the Caption-bar?
> I think something like:
> this.MouseDown += new
> System.Windows.Forms.MouseEventHandler(this.Form_MouseDown);
> ...
> private void Form_MouseDown(object sender, MouseEventArgs e){
> if (System.Windows.Forms.MouseButtons.Left == e.Button){
> ???
> }
> }
> But how do i set the position of the active form?