Пример #1
0
        public void SetCustomerInfo(ICustomerPersonalInfo c)
        {
            txtFullName.Text = c.FullName;
            txtAltContact.Text = c.AltContact;
            txtAltPhone.Text = c.AltPhone;
            txtEmail.Text = c.Email;
            txtPhone.Text = c.Phone;
            txtPO.Text = c.PoBox;

            _customerID = c.CustomerID;
            _editSequence = c.EditSequence;
        }
Пример #2
0
 public void LoadPersonalInfo(ICustomerPersonalInfo pi)
 {
     this._altContact = pi.AltContact;
     this._altPhone = pi.AltPhone;
     this._customerID = pi.CustomerID;
     this._editSequence = pi.EditSequence;
     this._email = pi.Email;
     this._fullName = pi.FullName;
     this._phone = pi.Phone;
     this._poBox = pi.PoBox;
 }