Пример #1
0
        protected override void ApplyEffect()
        {
            if (!Colours.Any())
            {
                MessageBox.Show("There must be at least one colour", "Error", MessageBoxButton.OK, MessageBoxImage.Error);
                return;
            }

            CustomModel.Colours = Colours.Select(x => x.Colour).ToArray();
            Model.StartEffect();
        }