public FormAddClient() { InitializeComponent(); DataSets.CreateDsForComboBox(comboBoxBank, Queries.BankView, "name_bank", "kor_bill"); textBoxINN.KeyPress += new KeyPressEventHandler(EventsInForm.KeyPressOnlyNumb); textBoxBill.KeyPress += new KeyPressEventHandler(EventsInForm.KeyPressOnlyNumb); textBoxKPP.KeyPress += new KeyPressEventHandler(EventsInForm.KeyPressOnlyNumb); textBoxOKTMO.KeyPress += new KeyPressEventHandler(EventsInForm.KeyPressOnlyNumb); textBoxOKATO.KeyPress += new KeyPressEventHandler(EventsInForm.KeyPressOnlyNumb); textBoxOGRN.KeyPress += new KeyPressEventHandler(EventsInForm.KeyPressOnlyNumb); }
public FormAddNumbReason() { InitializeComponent(); textBoxNumber.KeyPress += new KeyPressEventHandler(EventsInForm.KeyPressFloat); DataSets.CreateDsForComboBox(comboBoxRepair, Queries.RepairsForCBox, "info", "id"); }
public FormAddAuto() { InitializeComponent(); DataSets.CreateDsForComboBox(comboBoxAuto, Queries.CarModelView, "MARK_MODEL", "", AddEditOrDelete.Add); }