public OrderController(IOrderLogic orderLogic, ICarLogic carLogic, IDetailLogic detailLogic, ReportLogic reportLogic)
 {
     _orderLogic  = orderLogic;
     _carLogic    = carLogic;
     _detailLogic = detailLogic;
     _reportLogic = reportLogic;
 }
示例#2
0
 public ReportLogic(IRequestLogic requestLogic, ICarLogic carLogic, IOrderLogic orderLogic, IDetailLogic detailLogic)
 {
     this.requestLogic = requestLogic;
     this.carLogic     = carLogic;
     this.orderLogic   = orderLogic;
     this.detailLogic  = detailLogic;
 }
        public FormDetailRequest(IDetailLogic logic)
        {
            InitializeComponent();
            List <DetailViewModel> list = logic.Read(null);

            if (list != null)
            {
                comboBoxDetail.DisplayMember = "DetailName";
                comboBoxDetail.ValueMember   = "Id";
                comboBoxDetail.DataSource    = list;
                comboBoxDetail.SelectedItem  = null;
            }
        }
示例#4
0
 public FormDetails(IDetailLogic logic)
 {
     InitializeComponent();
     this.logic = logic;
 }
示例#5
0
 public FormCarDetail(IDetailLogic logicP)
 {
     InitializeComponent();
     this.logicP = logicP;
 }