private void SetImageCountText() { Action act = () => dbRecordCountLabel.Text = _controller.GetImageRecordCount() + " Database records"; SafeUpdate(act); }