Example #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();
        }
Example #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();
        }