private void changeGenere(Book.BookGenere newGenere)
        {
            if (genere != newGenere)
            {
                switch (newGenere)
                {
                case Book.BookGenere.Fantasy:
                    genere = Book.BookGenere.Fantasy;
                    this.BackgroundImage = Properties.Resources.fantasy;
                    break;

                case Book.BookGenere.Romance:
                    genere = Book.BookGenere.Romance;
                    this.BackgroundImage = Properties.Resources.hearts;
                    break;

                case Book.BookGenere.Criminal:
                    genere = Book.BookGenere.Criminal;
                    this.BackgroundImage = Properties.Resources.crime;
                    break;
                }
                this.Invalidate();
                propertyChange?.Invoke(genere);
            }
        }
        public GenerePicker(Book.BookGenere genere)
        {
            this.genere = genere;
            InitializeComponent();
            switch (genere)
            {
            case Book.BookGenere.Fantasy:
                this.BackgroundImage = Properties.Resources.fantasy;
                break;

            case Book.BookGenere.Romance:
                this.BackgroundImage = Properties.Resources.hearts;
                break;

            case Book.BookGenere.Criminal:
                this.BackgroundImage = Properties.Resources.crime;
                break;
            }
            this.Invalidate();
        }