Ejemplo n.º 1
0
        public void SelectCurrentlyApplyingPatch()
        {
            if (PatchFiles == null || !PatchFiles.Any())
            {
                return;
            }

            var shouldSelectIndex = PatchFiles.IndexOf(p => p.IsNext);

            if (shouldSelectIndex >= 0)
            {
                Patches.ClearSelection();
                Patches.Rows[shouldSelectIndex].Selected = true;
            }
        }