public WMVSettingsDialog(IVideoEditCore core)
        {
            InitializeComponent();

            _coreVideoEdit = core.GetCore();

            LoadDefaults();
        }
        public string GenerateNewEffectName(IVideoEditCore core)
        {
            if (core == null)
            {
                throw new Exception("core is null");
            }

            string name = NAME;

            var eff = core.GetCore()?.Video_Effects_Get(name);

            if (eff != null)
            {
                int k = 2;
                while (eff != null)
                {
                    name = $"{NAME} {k++}";
                    eff  = core.GetCore().Video_Effects_Get(name);
                }
            }

            return(name);
        }