private void PerformCommit() { qc.Commit(); qc.Close(); BeginButton.IsEnabled = true; CommitButton.IsEnabled = false; RollbackButton.IsEnabled = false; }