Exemplo n.º 1
0
        private void SetDefault()
        {
            jArchiveList1 = new ArchivedDocuments.JArchiveList();
            tabPage2.Controls.Add(jArchiveList1);
            jArchiveList1.Dock      = DockStyle.Fill;
            jArchiveList1.ClassName = "BusManagment.Bus.JBus";

            cmbFleet.DataSource    = Fleet.JFleets.GetDataTable(0);
            cmbFleet.DisplayMember = "Name";
            cmbFleet.ValueMember   = "Code";

            grdOwners.DataSource = JBusOwners.GetDataTable(_Code);
            grdDevice.DataSource = JBusDevices.GetDataTable(_Code);
        }
Exemplo n.º 2
0
 private void LoadOwners()
 {
     grdOwners.DataSource = JBusOwners.GetDataTable(_Code);
 }