给picturebox的parent容器实现双缓存会好一点。

解决方案 »

  1.   

     for (int i = 1; i  < 112219999; i++) 
    {
    if (timer1.Enabled == false) 
                    { 
                        button2.Location = new Point(1,1); 
                     
                    } }
    这东西完了把
      

  2.   

                timer1.Enabled = true;             for (int i = 1; i  < 112219999; i++) 
                { 
                    if (timer1.Enabled == false) 
                    { 
                        button2.Location = new Point(1,1); 
                     
                    } 
                } 
            } 
    这东西不行 这东西会先执行会卡一会 i从1-112219999后图片才移动 图片移动完后             timer1.Enabled = false;   才会变成 false    
    button2.Location = new Point(1,1); 这句还是没执行到