public static void Initialize(UpdateManagerParameters parameters, UpdateMode mode)
        {
            if (instance != null)
            {
                throw new AutoUpdateException("UpdateManager is already initialized.");
            }

            instance = new UpdateManager(parameters, mode);
        }
        private UpdateManager(UpdateManagerParameters parameters, UpdateMode mode)
            : this(parameters.Title, parameters.Message, parameters.Confirm, parameters.Cancel, parameters.CheckForUpdatesFunction, parameters.RunEvery)
        {
            if (mode == UpdateMode.MissingNo)
            {
                throw new AutoUpdateException("You are not supposed to select this mode.");
            }

            this.mode = mode;
        }