private void EditEnded(object sender, System.Windows.Controls.DataFormEditEndedEventArgs e)
{
if (e.EditAction == DataFormEditAction.Commit)
{
UIHelper.SetText(m_statusTextBlock, "Attempting to create your account, please wait...");
Customer customer = (sender as DataForm).CurrentItem as Customer;
m_riaContext.Customers.Add(customer);
m_riaContext.SubmitChanges(CreateCustomerComplete, customer);
}
}