private void Valider(object sender, RoutedEventArgs e)
        {
            for (int i = 0; i < NbPC; i++)
            {
                this.Command.Products.Add(new PC());
            }

            for (int i = 0; i < NbSmartPhone; i++)
            {
                this.Command.Products.Add(new SmartPhone());
            }

            for (int i = 0; i < NbBike; i++)
            {
                this.Command.Products.Add(new Bike());
            }

            this.BaseWindow.SellerManager.Commands.Add(this.Command);
            this.Command = null;

            AccueilPage page = new AccueilPage();

            page.BaseWindow         = this.BaseWindow;
            this.BaseWindow.Content = page;
        }
        private void Back(object sender, RoutedEventArgs e)
        {
            AccueilPage page = new AccueilPage();

            page.BaseWindow         = this.BaseWindow;
            this.BaseWindow.Content = page;
        }
        public MainWindow()
        {
            InitializeComponent();

            this.SellerManager = new WpfSellerManager();
            this.SellerManager.AddInitialProducts();

            AccueilPage page = new AccueilPage();

            page.BaseWindow = this;
            this.Content    = page;
        }