Example #1
0
        public static void MoveTo(Gump who)
        {
            Point point = who.PointToScreen(new Point(who.Width / 2, who.Height / 2));

            Cursor.Position = Engine.m_Display.PointToScreen((Point)point);
            Gumps.Invalidate();
        }
Example #2
0
 public static void MoveTo(Gump who)
 {
     Point point = who.PointToScreen(new Point(who.Width / 2, who.Height / 2));
     Cursor.Position = Engine.m_Display.PointToScreen((Point) point);
     Gumps.Invalidate();
 }