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