Exemplo n.º 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();
        }
Exemplo n.º 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();
 }