Ejemplo n.º 1
0
 public override void InitServices()
 {
     _customerService  = new CustomerService() as ICustomerService;
     _driverService    = new DriverService() as IDriverService;
     _daybookService   = new DaybookService() as IDaybookService;
     addDaybookControl = new ctrlAddDaybook();
 }
Ejemplo n.º 2
0
 public ctrlAddDaybook()
 {
     InitializeComponent();
     _customerService = new CustomerService();
     _driverService   = new DriverService();
     _journeyService  = new JourneyService();
     _dayBookService  = new DaybookService();
 }
Ejemplo n.º 3
0
 public ctrlFormInvoices()
 {
     _customerService = new CustomerService() as ICustomerService;
     _daybookService  = new DaybookService() as IDaybookService;
     _invoiceService  = new InvoiceService() as IInvoiceService;
     InitializeComponent();
     OnLoad();
 }
Ejemplo n.º 4
0
        public ctrlFormWorkload()
        {
            _customerService = new CustomerService() as ICustomerService;
            _daybookService  = new DaybookService() as IDaybookService;
            _invoiceService  = new InvoiceService() as IInvoiceService;
            _driverService   = new DriverService() as IDriverService;
            currentDialog    = new frmAddDaybook();
            InitializeComponent();

            OnLoad();
        }
Ejemplo n.º 5
0
        public frmDaybook()
        {
            DaybookService daybookService = new DaybookService();

            service = (IDaybookService)daybookService;
            InitializeComponent();

            //InitializeMenuItems();

            currentDialog             = new frmAddDaybook();
            currentDialog.OnSaveForm += new Dialogbase.OnSaveFormEvent(this.GetData);
        }