public void SetCopyCRangeMapchipe(RangeSquareTiles r) { m_objCopyRM.Set(r); m_objCopyRM.Decision(); objGBCopyRange.Enabled = true; objGBPasteLayer.Enabled = true; objLCopyX.Text = "" + r.startPosBlockX; objLCopyY.Text = "" + r.startPosBlockY; objLCopyW.Text = "" + r.widthBlock; objLCopyH.Text = "" + r.hightBlock; if (objCKAllLayer.Checked) { objLTargetLayer.Text = "全て"; objGBPasteLayer.Enabled = false; m_nCopyFlg = CatAndPasteSquareTiles.TARGET_LAYER_ALL; } else if (objRBCopyL00.Checked) { objLTargetLayer.Text = "0"; m_nCopyFlg = CatAndPasteSquareTiles.TARGET_LAYER00; } else if (objRBCopyL01.Checked) { objLTargetLayer.Text = "1"; m_nCopyFlg = CatAndPasteSquareTiles.TARGET_LAYER01; } }
/// <summary> /// 複製 /// </summary> /// <returns></returns> public RangeSquareTiles Clone() { RangeSquareTiles ret = new RangeSquareTiles(); ret.Set(this); return(ret); }
public void SetCRangeMapchipe(RangeSquareTiles r) { m_objRM.Set(r); m_objRM.Decision(); objGBCopyLayer.Enabled = true; objLX.Text = "" + m_objRM.startPosBlockX; objLY.Text = "" + m_objRM.startPosBlockY; objLW.Text = "" + m_objRM.widthBlock; objLH.Text = "" + m_objRM.hightBlock; }