private void btn_save_Click(object sender, RoutedEventArgs e) { CameraProperty.EndEdit(); ServiceProvider.Settings.Save(); _cameraDevice.LoadProperties(); ServiceProvider.WindowsManager.ExecuteCommand(WindowsCmdConsts.CameraPropertyWnd_Hide); }