how to set location by coding in C# code example Example: change textbox location C# txtName.Location = new Point(200,200);