Example #1
0
        private bool UpdateDatabase(CameraSettingsContainer cs)
        {
            bool success = _wgDB.UpdateCameraSettings(cs);

            if (!success)
            {
                string errMsg = _wgDB.GetLastErrorMsg();
                MessageBox.Show("Failed to Update Camera Settings: " + errMsg, "Database Error", MessageBoxButton.OK, MessageBoxImage.Error);
            }

            return(success);
        }