C# WinForm 改变控件在窗体上的显示位置

        设置控件的位置不可使用 Location.x  或者Location.Y 来设置控件的位置 

以下是解决的方法:

       第一种方法:

          //控制一个控件的显示位置
            button1.Top = 100;
            button1.Left = 100;

  第二种方法:

            //给一个控件赋值 的两种方法
            button1.Location = new Point(500,500);

原文地址:https://www.cnblogs.com/voidobject/p/3975502.html