private void btnNew_Click(object sender, RoutedEventArgs e) { NewContract win = new NewContract(); win.Left = this.Left; win.Top = this.Top; win.Show(); }
private void btnDuplicate_Click(object sender, RoutedEventArgs e) { NewContract win = new NewContract(); win.txtClient.Text = txtClient.Text; win.txtCredentialingProcess.Text = txtCredentialingProcess.Text; win.txtDepartmentContact.Text = txtDepartmentContact.Text; win.txtDurationofContract.Text = txtDurationofContract.Text; win.txtEstimatedAnnualValue.Text = txtEstimatedAnnualValue.Text; win.txtFMR.Text = txtFMR.Text; win.txtFrequencyofServices.Text = txtFrequencyofServices.Text; win.txtIndividualResponsible.Text = txtIndividualResponsible.Text; win.txtMFK.Text = txtMFK.Text; win.txtPeopleSoftContractNum.Text = txtPeopleSoftContractNum.Text; win.txtProviders.Text = txtProviders.Text; win.txtReimbursement1.Text = txtReimbursement1.Text; win.txtReimbursement2.Text = txtReimbursement2.Text; win.txtReimbursement3.Text = txtReimbursement3.Text; win.txtReimbursementNotes.Text = txtReimbursementNotes.Text; win.txtServiceClientLocation.Text = txtServiceClientLocation.Text; win.txtSpecialty.Text = txtSpecialty.Text; win.txtSummaryofServices.Text = txtSummaryofServices.Text; win.txtTimesheetInformation.Text = txtTimesheetInformation.Text; win.txtTravelReimbursement.Text = txtTravelReimbursement.Text; win.dtCommitteeApproval.Text = dtCommitteeApproval.Text; win.dtEffective.Text = dtEffective.Text; win.dtHardTermination.Text = dtHardTermination.Text; win.dtLastFMRReview.Text = dtLastFMRReview.Text; win.dtMostRecentAnnualWorksheet.Text = dtMostRecentAnnualWorksheet.Text; win.dtNextAutoRenewal.Text = dtNextAutoRenewal.Text; win.cboReimbursement1Period.Text = cboReimbursement1Period.Text; win.cboReimbursement2Period.Text = cboReimbursement2Period.Text; win.cboReimbursement3Period.Text = cboReimbursement3Period.Text; win.cboStatus.Text = cboStatus.Text; win.cboTravelReimbursementPeriod.Text = cboTravelReimbursementPeriod.Text; win.cboTypeofAgreement.Text = cboTypeofAgreement.Text; win.cboUIDepartment.Text = cboUIDepartment.Text; win.chkBAANeededCompleted.IsChecked = chkBAANeededCompleted.IsChecked; win.chkBillingbyUI.IsChecked = chkBillingbyUI.IsChecked; win.rdoBoth.IsChecked = rdoBoth.IsChecked; win.rdoConsultative.IsChecked = rdoConsultative.IsChecked; win.rdoNeither.IsChecked = rdoNeither.IsChecked; win.rdoProcedural.IsChecked = rdoProcedural.IsChecked; win.Left = this.Left; win.Top = this.Top; win.Show(); }