MouseMove事件中Invalidate
Paint事件中以当前鼠标点为中心,绘制一大十字

解决方案 »

  1.   

    如果图片是在PictureBox中的话,设置该控件的光标为十字光标就可以了。
    //PictureBox pictureBox1;
    pictureBox1.Cursor = Cursors.CrossCursor;
      

  2.   

    winform在程序运行中,鼠标选中控件,控件呈选中状态,并能拖动拖动鼠标改变控件大小和位置,如从工具箱中?
      

  3.   

    把窗体拖动事件改成PictureBox的拖动事件..
    附上一个窗体拖动事件..把这个时间复制进去..拿图片的对应事件调用这3个事件就行private bool mousedown=false;
            private bool threadstrat = true;
            private Point mouseOffset;
            private bool flag = true;
            Label[] lb = new Label[6];
            Thread[] ts = new Thread[6];
    private void Form1_MouseDown(object sender, MouseEventArgs e)
            {
                if (e.Button == MouseButtons.Left)
                {
                    this.mouseOffset = new Point(-e.X, -e.Y);
                    mousedown = true;
                }   
            }        private void Form1_MouseMove(object sender, MouseEventArgs e)
            {
                if (mousedown)
                {
                    Point mousePos = Control.MousePosition;
                    mousePos.Offset(mouseOffset.X, mouseOffset.Y);
                    Location = mousePos;
                }   
            }        private void Form1_MouseUp(object sender, MouseEventArgs e)
            {
                if (e.Button == MouseButtons.Left)
                {
                    mousedown = false;
                }
            }
      

  4.   

    十字图标只要在属性里设置移动到PictureBox上的鼠标指针样式就行..