public void Initialize(DeviceComponent model)
        {
            _model = model as AccelerometerDeviceComponent;

            if (_model == null)
                throw new ApplicationException();

            lblName.Text = _model.Name;
        }
        public void Initialize(DeviceComponent model)
        {
            _model = model as ButtonDeviceComponent;

            if (_model == null)
                throw new ApplicationException();

            chkButton.Text = _model.Name;
        }
 public void Initialize(DeviceComponent model)
 {
     _model = model as DeltaDeviceComponent;
     chkDelta.Text = model.Name;
 }