c# form x loation change code example Example: change textbox location C# txtName.Location = new Point(200,200);