예제 #1
0
        private void pBox_MouseMove(object sender, MouseEventArgs e)
        {
            Point pt = ScreenToPoint(e.Location);

            if ((curEt != null) && moving)
            {
                curEt.Move(pt);
                PaintImage();
            }
        }
예제 #2
0
파일: DrawRoute.cs 프로젝트: mbatest/Video
        private void DrawPanel_MouseMove(object sender, MouseEventArgs e)
        {
            Point pt = ScreenToPoint(e.Location);

            if ((curEt != null) && moving)
            {
                curEt.Move(pt);
                Refresh();
            }
        }