コード例 #1
0
        private void scale_ValueChanged(object sender, EventArgs e)
        {
            if (!canDetect)
            {
                return;
            }

            tm.scale = (int)scale.Value;

            if (Tilemapper.editing != -1)
            {
                Tilemapper.StopEditing();
                Tilemapper.BeginEditing(tm.id);
            }

            selected = default(Point);
            Tilemapper.ConvertAndSetMap(tm);
        }
コード例 #2
0
 private void TilemapForm_Closing(object sender, FormClosingEventArgs e)
 {
     Tilemapper.StopEditing();
 }