private void ApplyEdit()
{
addressLabel.Text = Properties_Resources.CmisWebAddress + ":";
addressLabel.FontWeight = FontWeights.Bold;
addressBox.IsEnabled = false;
userLabel.Text = Properties_Resources.User + ":";
userLabel.FontWeight = FontWeights.Bold;
userBox.IsEnabled = false;
passwordLabel.Text = Properties_Resources.Password + ":";
passwordLabel.FontWeight = FontWeights.Bold;
finishButton.Content = Properties_Resources.SaveChanges;
cancelButton.Content = Properties_Resources.DiscardChanges;
finishButton.Focus();
}
}