コード例 #1
0
        private void ExecuteConfirmTargetEdit(object parameter)
        {
            Target newTarget = new Target(shooter_id, stage_id, Byte.Parse(alpha), Byte.Parse(charlie), Byte.Parse(delta), Byte.Parse(miss), Byte.Parse(noShoot), Byte.Parse(procedure), Byte.Parse(extra));
            UInt32 id        = SelectedTarget.ID;

            targetModel.EditTarget(newTarget, id);

            ClearInput();
            IsDataGridEnabled = true;
            EditedTargetId    = null;
            Targets           = targetModel.GetTargets(Shooter_id, Stage_id).Convert();
        }