Exemple #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);
        }
Exemple #2
0
 private void LoadDevice()
 {
     grdDevice.DataSource = JBusDevices.GetDataTable(_Code);
 }