コード例 #1
0
ファイル: frmAddDaybook.cs プロジェクト: vbrixtondotnet/dwt
 public override void InitServices()
 {
     _customerService  = new CustomerService() as ICustomerService;
     _driverService    = new DriverService() as IDriverService;
     _daybookService   = new DaybookService() as IDaybookService;
     addDaybookControl = new ctrlAddDaybook();
 }
コード例 #2
0
ファイル: ctrlAddDaybook.cs プロジェクト: vbrixtondotnet/dwt
 public ctrlAddDaybook()
 {
     InitializeComponent();
     _customerService = new CustomerService();
     _driverService   = new DriverService();
     _journeyService  = new JourneyService();
     _dayBookService  = new DaybookService();
 }
コード例 #3
0
 public ctrlFormInvoices()
 {
     _customerService = new CustomerService() as ICustomerService;
     _daybookService  = new DaybookService() as IDaybookService;
     _invoiceService  = new InvoiceService() as IInvoiceService;
     InitializeComponent();
     OnLoad();
 }
コード例 #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();
        }
コード例 #5
0
ファイル: frmDaybook.cs プロジェクト: vbrixtondotnet/dwt
        public frmDaybook()
        {
            DaybookService daybookService = new DaybookService();

            service = (IDaybookService)daybookService;
            InitializeComponent();

            //InitializeMenuItems();

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