Esempio n. 1
0
        public FormCargoes()
        {
            InitializeComponent();

            db = new LogisticsDBEntities();
            db.Cargoes.Load();

            dgvCargoes.DataSource = db.Cargoes.Local.ToBindingList();
        }
Esempio n. 2
0
        public FormTariffs()
        {
            InitializeComponent();

            db = new LogisticsDBEntities();
            db.Tariffs.Load();

            dgvTariffs.DataSource = db.Tariffs.Local.ToBindingList();
        }
Esempio n. 3
0
        public FormDrivers()
        {
            InitializeComponent();

            db = new LogisticsDBEntities();
            db.Drivers.Load();

            dgvDrivers.DataSource = db.Drivers.Local.ToBindingList();
        }
Esempio n. 4
0
        public FormTransports()
        {
            InitializeComponent();

            db = new LogisticsDBEntities();
            db.Transports.Load();

            dgvTransport.DataSource = db.Transports.Local.ToBindingList();
        }