Exemplo n.º 1
0
        private void OK()
        {
            var cd = svm.CVM.ChangeController.NewScreen(svm._screen);

            CurrentChange.changeDescription.ChangeValues.Clear();
            CurrentChange.changeDescription.ChangeValues.AddRange(cd.ChangeValues);
            CurrentChange.IsApplied = true;
            svm.CVM.AddChange(CurrentChange, false);
            svm.FireEvents();
            NeedToCancel = false;

            if (RequestClose != null)
            {
                RequestClose();
            }
        }