protected override void ControlsToData() { if (_bus == null) _bus = new PCI(); base.ControlsToData(); ((PCI) _bus).deviceID = edtDeviceId.GetValue<string>(); ((PCI) _bus).vendorID = edtVendorId.GetValue<string>(); }