public void CreateAddViews(string fadetoleftanim, TabHelper tabHlp, MainWindow mainWindow, Image headerImage)
        {
            _addProductView = new AddProductView(fadetoleftanim);
             _addPurchaseView = new AddPurchaseView(fadetoleftanim, tabHlp);
             _addSaleView = new AddSaleView(fadetoleftanim, tabHlp);
              _addSupplierView = new AddSupplierView(fadetoleftanim);
              _addCustomerView = new AddCustomerView(fadetoleftanim);
              _addEmployeeView = new AddEmployeeView(fadetoleftanim);

              _listSuppliersView = new ListSuppliersView(fadetoleftanim,tabHlp);
              _listCustomersView = new ListCustomersView(fadetoleftanim,tabHlp);
              _listEmployeesView = new ListEmployeesView(fadetoleftanim, tabHlp);
              _listProductsView = new ListProductsView(fadetoleftanim, tabHlp);
              _listSalesView = new ListSalesView(fadetoleftanim, tabHlp);
              _listPurchasesView = new ListPurchasesView(fadetoleftanim, tabHlp);
              _liStockState=new StockState();
              _addFactureView = new AddFactureView(fadetoleftanim, "facture");

              _factureView = new FactureView(fadetoleftanim);
              _stockView = new StockView(fadetoleftanim);
            _optionsView=new Options(mainWindow,headerImage,"");
            _statisticsView=new StatisticsView(fadetoleftanim);
        }
 public NewMeasure(AddProductView newProductView)
 {
     InitializeComponent();
     _addProductView = newProductView;
 }
 public AddCategoryView(AddProductView addProductView)
 {
     InitializeComponent();
     _CategorysClient = new CategorysClient();
     _addProductView = addProductView;
 }