Exemplo n.º 1
0
        public void SetProperties(int top, int left, XkcdTileMap map)
        {
            _refreshing = true;

            this.SetCurrentValue(XkcdMapControl.TopProperty, top);
            this.SetCurrentValue(XkcdMapControl.LeftProperty, left);
            this.SetCurrentValue(XkcdMapControl.TileMapProperty, map);

            _refreshing = false;

            Refresh();
        }
Exemplo n.º 2
0
        public void SetProperties(int top, int left, XkcdTileMap map)
        {
            _refreshing = true;

            this.SetCurrentValue(XkcdMapControl.TopProperty, top);
            this.SetCurrentValue(XkcdMapControl.LeftProperty, left);
            this.SetCurrentValue(XkcdMapControl.TileMapProperty, map);

            _refreshing = false;

            Refresh();
        }