Ejemplo n.º 1
0
 private void RefreshCombos()
 {
     EquipTypeComboBox.FillComboBox(Attributes.DeviceAttributes.EquipType);
     LocationComboBox.FillComboBox(Attributes.DeviceAttributes.Locations);
     StatusComboBox.FillComboBox(Attributes.DeviceAttributes.StatusType);
     OSTypeComboBox.FillComboBox(Attributes.DeviceAttributes.OSType);
 }
Ejemplo n.º 2
0
 private void InitDBControls()
 {
     SerialSearchTextBox.SetDBInfo(DevicesCols.Serial);
     AssetTagSearchTextBox.SetDBInfo(DevicesCols.AssetTag);
     DescriptionTextBox.SetDBInfo(DevicesCols.Description);
     EquipTypeComboBox.SetDBInfo(DevicesCols.EQType, Attributes.DeviceAttributes.EquipType);
     ReplaceYearTextBox.SetDBInfo(DevicesCols.ReplacementYear);
     OSTypeComboBox.SetDBInfo(DevicesCols.OSVersion, Attributes.DeviceAttributes.OSType);
     LocationComboBox.SetDBInfo(DevicesCols.Location, Attributes.DeviceAttributes.Locations);
     CurrrentUserTextBox.SetDBInfo(DevicesCols.CurrentUser);
     StatusComboBox.SetDBInfo(DevicesCols.Status, Attributes.DeviceAttributes.StatusType);
     TrackablesCheckBox.SetDBInfo(DevicesCols.Trackable);
 }
Ejemplo n.º 3
0
        private void InitDBControls()
        {
            DescriptionTextBox.SetDBInfo(DevicesBaseCols.Description, true);
            AssetTagTextBox.SetDBInfo(DevicesBaseCols.AssetTag, true);
            SerialTextBox.SetDBInfo(DevicesBaseCols.Serial, true);
            PurchaseDatePicker.SetDBInfo(DevicesBaseCols.PurchaseDate, true);
            ReplaceYearTextBox.SetDBInfo(DevicesBaseCols.ReplacementYear, false);
            LocationComboBox.SetDBInfo(DevicesBaseCols.Location, Attributes.DeviceAttributes.Locations, true);
            CurrentUserTextBox.SetDBInfo(DevicesBaseCols.CurrentUser, true);

            OSTypeComboBox.SetDBInfo(DevicesBaseCols.OSVersion, Attributes.DeviceAttributes.OSType, true);
            PhoneNumTextBox.SetDBInfo(DevicesBaseCols.PhoneNumber, false);
            EquipTypeComboBox.SetDBInfo(DevicesBaseCols.EQType, Attributes.DeviceAttributes.EquipType, true);
            StatusComboBox.SetDBInfo(DevicesBaseCols.Status, Attributes.DeviceAttributes.StatusType, true);
            TrackableCheckBox.SetDBInfo(DevicesBaseCols.Trackable, false);
            POTextBox.SetDBInfo(DevicesBaseCols.PO, false);
            HostnameTextBox.SetDBInfo(DevicesBaseCols.HostName, false);
            iCloudTextBox.SetDBInfo(DevicesBaseCols.iCloudAccount, false);
        }