Exemple #1
0
        public OrderDetailCreate_DialogForm(CommonEntityManager <Produce> produceManager)
        {
            InitializeComponent();

            _produceManager = produceManager;
            _produces       = _produceManager.Entity;
        }
Exemple #2
0
        public MainWindow(CommonEntityManager <Order> orderManager,
                          CommonEntityManager <Personal> personalManager,
                          CommonEntityManager <OrderDetail> orderDetailManager,
                          IMapper mapper,
                          WindowsNavigatore windowsNavigatore)
        {
            Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("fa-IR");
            InitializeComponent();

            _mapper             = mapper;
            _orderManager       = orderManager;
            _personalManager    = personalManager;
            _orderDetailManager = orderDetailManager;
            _windowsNavigatore  = windowsNavigatore;
        }
        public OrderCreate_DialogForm(IMapper mapper,
                                      CommonEntityManager <Personal> personalManager,
                                      CommonEntityManager <Order> orderManager,
                                      CommonEntityManager <OrderDetail> orderDetailManager,
                                      CommonEntityManager <Produce> produceManager,
                                      WindowsNavigatore windowsNavigatore)
        {
            InitializeComponent();

            _mapper             = mapper;
            _personalManager    = personalManager;
            _windowsNavigatore  = windowsNavigatore;
            _orderManager       = orderManager;
            _orderDetailManager = orderDetailManager;
            _produceManager     = produceManager;
        }