public UpdateDonor(DonorsDataGrid d , string StaffRole) { StaffDBRole = StaffRole; DonorAddress1 = d.DonorAddress1; DonorAddress2 = d.DonorAddress2; DonorCity = d.DonorCity; DonorState = d.DonorState; DonorType = d.DonorType; DonorZip = d.DonorZip; DonorID = d.DonorID; OrganizationName = d.OrganizationName; InitializeComponent(); text_OrganizationName.Focus(); }
public UpdateIndividualDonor(DonorsDataGrid p, Models.DonorContact d, string staffDBRole) { DonorFirstName = p.DonorFirstName; DonorLastName = p.DonorLastName; OrganizationName = p.OrganizationName; DonorAddress1 = p.DonorAddress1; DonorAddress2 = p.DonorAddress2; ContactPhone = d.ContactPhone; ContactEmail = d.ContactEmail; DonorState = p.DonorState; DonorCity = p.DonorCity; DonorZip = p.DonorZip; DonorID = p.DonorID; ContactID = d.ContactID; StaffDBRole = staffDBRole; InitializeComponent(); fName.Focus(); }