Esempio n. 1
0
        private void frmDaybook_Load(object sender, EventArgs e)
        {
            DaybookService daybookService = new DaybookService();
            //var service = (IDaybookService)daybookService;

            //var exports = service.GetDayBooks(2);
            //var imports = service.GetDayBooks(1);
        }
Esempio n. 2
0
        private void frmDaybook_Load(object sender, EventArgs e)
        {
            DaybookService daybookService = new DaybookService();
            var            service        = (IDaybookService)daybookService;

            var exports = service.GetDayBooks(2);
            var imports = service.GetDayBooks(1);

            this.dsExports.DataSource = exports;
        }
Esempio n. 3
0
        public frmDaybook()
        {
            DaybookService daybookService = new DaybookService();

            service = (IDaybookService)daybookService;
            InitializeComponent();

            //InitializeMenuItems();

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