- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
// Установка обработкчиков событий
tbTitle.TextChanged += (x, y) => _target.Title = tbTitle.Text;
cbContractorType.SelectedIndexChanged += (x, y) => _target.ContractorType = cbContractorType.SelectedIndex;
tbFullTitle.TextChanged += (x, y) => _target.Title = tbFullTitle.Text;
tbINN.TextChanged += (x, y) => _target.INN = tbINN.Text;
// Для физ. лица
dtpBirthDate.ValueChanged += (x, y) => _target.birthDate = dtpBirthDate.Value;
tbPassportSeria.TextChanged += (x, y) => _target.PassportSeria = tbPassportSeria.Text;
tbPassportNumber.TextChanged += (x, y) => _target.PassportNumber = tbPassportNumber.Text;
dtpPassportDateRegistred.ValueChanged += (x, y) => _target.PassportDateRegistred = dtpPassportDateRegistred.Value;
tbPassportOrganizationRegistred.TextChanged += (x, y) => _target.PassportOrganizationRegistred = tbPassportOrganizationRegistred.Text;
tbRegistredPassportAddress.TextChanged += (x, y) => _target.RegistredPassportAddress = tbRegistredPassportAddress.Text;
// Для юр лица
tbOgranizationJuridicalAddress.TextChanged += (x ,y) => _target.OgranizationJuridicalAddress = tbRegistredPassportAddress.Text;
tbOrganizationMainBankAcouuntNumber.TextChanged += (x, y) => _target.OrganizationMainBankAcouuntNumber = tbOrganizationMainBankAcouuntNumber.Text;
tbOrganizationKPP.TextChanged += (x, y) => _target.OrganizationKPP = tbOrganizationKPP.Text;
tbOrganizationOGRNIP.TextChanged += (x, y) => _target.OrganizationOGRNIP = tbOrganizationOGRNIP.Text;
tbOrganizationIFNS.TextChanged += (x, y) => _target.OrganizationIFNS = tbOrganizationIFNS.Text;
tbOrganizationOKATO.TextChanged += (x, y) => _target.OrganizationOKATO = tbOrganizationOKATO.Text;
tbOrganizationOKPO.TextChanged += (x, y) => _target.OrganizationOKPO = tbOrganizationOKPO.Text;
guest 10.04.2011 19:52 # −1
RaZeR 10.04.2011 20:13 # 0
glilya 11.04.2011 23:47 # 0
bugmenot 12.04.2011 07:44 # +1
absolut 12.04.2011 09:27 # 0
wvxvw 12.04.2011 10:27 # +1
Govnocoder#0xFF 12.04.2011 10:31 # 0
glilya 16.04.2011 09:29 # 0
SmackMyBitchUp 24.04.2011 07:56 # 0
glilya 16.04.2011 09:29 # 0
guest 24.04.2011 16:38 # 0