/// <summary> /// 現在選択中のアイテムを削除する /// </summary> private void RemoveItemFromSelectLineNo() { ClsDatMotion clMotion = ClsSystem.GetSelectMotion(); if (clMotion == null) { return; } int inLineNo = ClsSystem.GetSelectLineNo(); if (inLineNo < 0) { return; } //以下、アイテム削除処理 clMotion.RemoveItemFromLineNo(inLineNo, false, true); //以下、行番号振り直し処理 clMotion.RefreshLineNo(); //以下、コントロール更新処理 this.RefreshControl(); this.panel_Control.Refresh(); this.panel_Time.Refresh(); this.mFormMain.Refresh(); }