Exemple #1
0
        public ICursorContainer AddCursorContainer(string filename, int x, int y)
        {
            CursorContainer cursorContainer = new CursorContainer(this);

            cursorContainer.Load(filename);
            cursorContainer.Left = x;
            cursorContainer.Top  = y;
            AddElement(cursorContainer);
            return(cursorContainer);
        }
Exemple #2
0
        public ICursorContainer AddCursorContainer(Cursor cursor, int x, int y)
        {
            CursorContainer cursorContainer = new CursorContainer(this);

            cursorContainer.Cursor = cursor;
            cursorContainer.Left   = x;
            cursorContainer.Top    = y;
            AddElement(cursorContainer);
            return(cursorContainer);
        }
 public ICursorContainer AddCursorContainer(string filename, int x, int y)
 {
     CursorContainer cursorContainer = new CursorContainer(this);
     cursorContainer.Load(filename);
     cursorContainer.Left = x;
     cursorContainer.Top = y;
     AddElement(cursorContainer);
     return cursorContainer;
 }
 public ICursorContainer AddCursorContainer(Cursor cursor, int x, int y)
 {
     CursorContainer cursorContainer = new CursorContainer(this);
     cursorContainer.Cursor = cursor;
     cursorContainer.Left = x;
     cursorContainer.Top = y;
     AddElement(cursorContainer);
     return cursorContainer;
 }