private void _buttonSave_Click(object sender, RoutedEventArgs e)
 {
     ServiceReferenceLocksmith.ServiceLocksmithClient webService = new ServiceReferenceLocksmith.ServiceLocksmithClient();
     webService.InsertNewComapnyCompleted += new EventHandler<ServiceReferenceLocksmith.InsertNewComapnyCompletedEventArgs>(webService_InsertNewComapnyCompleted);
     webService.InsertNewComapnyAsync(_textBoxCompanyName.Text, _textBoxAddress.Text,
                                      ((ComboBoxItem)_comboBoxStates.SelectedItem).Content.ToString(), _textBoxCity.Text, _textBlockZipCode.Text, _textBoxUrl.Text, _textBoxEmail.Text,
                                      _textBoxPhone1.Text, _textBoxPhone2.Text, _textBoxPhone3.Text, _textBoxFax.Text);
 }
 private void _buttonSave_Click(object sender, RoutedEventArgs e)
 {
     ServiceReferenceLocksmith.ServiceLocksmithClient webService = new ServiceReferenceLocksmith.ServiceLocksmithClient();
     webService.InsertNewJobCompleted += new EventHandler<ServiceReferenceLocksmith.InsertNewJobCompletedEventArgs>(webService_InsertNewJobCompleted);
     webService.InsertNewJobAsync(_textBoxAddress.Text, _textBoxCity.Text, ((ComboBoxItem)_comboBoxCompanies.SelectedItem).Content.ToString(), Convert.ToDouble(_textBoxCost.Text),
                                  _textBoxFirstName.Text, _textBoxInfo.Text, ((ComboBoxItem)_comboBoxJobPricing.SelectedItem).Content.ToString(),
                                  ((ComboBoxItem)_comboBoxJobType.SelectedItem).Content.ToString(), _textBoxLastName.Text, _textBoxMobilePhone.Text,
                                  ((ComboBoxItem)_comboBoxJobPayment.SelectedItem).Content.ToString(), _textBoxPhone.Text, _textBoxMobilePhone.Text,
                                  ((ComboBoxItem)_comboBoxStates.SelectedItem).Content.ToString(),
                                  ((ComboBoxItem)_comboBoxTechnician.SelectedItem).Content.ToString(), Convert.ToDouble(_textBoxTotal.Text));
 }
 private void Page_Loaded(object sender, RoutedEventArgs e)
 {
     ServiceReferenceLocksmith.ServiceLocksmithClient webService = new ServiceReferenceLocksmith.ServiceLocksmithClient();
     webService.GetTechnicianListCompleted += new EventHandler<ServiceReferenceLocksmith.GetTechnicianListCompletedEventArgs>(webService_GetTechnicianListCompleted);
     webService.GetTechnicianListAsync();
 }